public class InstanceStatusSummary extends Object implements Serializable, Cloneable
Describes the status of an instance.
| Constructor and Description |
|---|
InstanceStatusSummary() |
| Modifier and Type | Method and Description |
|---|---|
InstanceStatusSummary |
clone() |
boolean |
equals(Object obj) |
List<InstanceStatusDetails> |
getDetails()
The system instance health or application instance health.
|
String |
getStatus()
The status.
|
int |
hashCode() |
void |
setDetails(Collection<InstanceStatusDetails> details)
The system instance health or application instance health.
|
void |
setStatus(String status)
The status.
|
void |
setStatus(SummaryStatus status)
The status.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
InstanceStatusSummary |
withDetails(Collection<InstanceStatusDetails> details)
The system instance health or application instance health.
|
InstanceStatusSummary |
withDetails(InstanceStatusDetails... details)
The system instance health or application instance health.
|
InstanceStatusSummary |
withStatus(String status)
The status.
|
InstanceStatusSummary |
withStatus(SummaryStatus status)
The status.
|
public String getStatus()
Constraints:
Allowed Values: ok, impaired, insufficient-data, not-applicable, initializing
SummaryStatuspublic void setStatus(String status)
Constraints:
Allowed Values: ok, impaired, insufficient-data, not-applicable, initializing
status - The status.SummaryStatuspublic InstanceStatusSummary withStatus(String status)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ok, impaired, insufficient-data, not-applicable, initializing
status - The status.SummaryStatuspublic void setStatus(SummaryStatus status)
Constraints:
Allowed Values: ok, impaired, insufficient-data, not-applicable, initializing
status - The status.SummaryStatuspublic InstanceStatusSummary withStatus(SummaryStatus status)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ok, impaired, insufficient-data, not-applicable, initializing
status - The status.SummaryStatuspublic List<InstanceStatusDetails> getDetails()
public void setDetails(Collection<InstanceStatusDetails> details)
details - The system instance health or application instance health.public InstanceStatusSummary withDetails(InstanceStatusDetails... details)
NOTE: This method appends the values to the existing list (if
any). Use setDetails(java.util.Collection) or withDetails(java.util.Collection) if you want to override the
existing values.
Returns a reference to this object so that method calls can be chained together.
details - The system instance health or application instance health.public InstanceStatusSummary withDetails(Collection<InstanceStatusDetails> details)
Returns a reference to this object so that method calls can be chained together.
details - The system instance health or application instance health.public String toString()
toString in class ObjectObject.toString()public InstanceStatusSummary clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.