public class InstanceStatusSummary
extends java.lang.Object
implements java.io.Serializable
Describes the status of an instance.
| Constructor and Description |
|---|
InstanceStatusSummary() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<InstanceStatusDetails> |
getDetails()
The system instance health or application instance health.
|
java.lang.String |
getStatus()
The status.
|
int |
hashCode() |
void |
setDetails(java.util.Collection<InstanceStatusDetails> details)
The system instance health or application instance health.
|
void |
setStatus(java.lang.String status)
The status.
|
void |
setStatus(SummaryStatus status)
The status.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
InstanceStatusSummary |
withDetails(java.util.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(java.lang.String status)
The status.
|
InstanceStatusSummary |
withStatus(SummaryStatus status)
The status.
|
public java.lang.String getStatus()
Constraints:
Allowed Values: ok, impaired, insufficient-data, not-applicable, initializing
SummaryStatuspublic void setStatus(java.lang.String status)
Constraints:
Allowed Values: ok, impaired, insufficient-data, not-applicable, initializing
status - The status.SummaryStatuspublic InstanceStatusSummary withStatus(java.lang.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 java.util.List<InstanceStatusDetails> getDetails()
public void setDetails(java.util.Collection<InstanceStatusDetails> details)
details - The system instance health or application instance health.public InstanceStatusSummary withDetails(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 InstanceStatusSummary withDetails(java.util.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 java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.