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
SummaryStatus
public void setStatus(java.lang.String status)
Constraints:
Allowed Values: ok, impaired, insufficient-data, not-applicable, initializing
status
- The status.SummaryStatus
public 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.SummaryStatus
public void setStatus(SummaryStatus status)
Constraints:
Allowed Values: ok, impaired, insufficient-data, not-applicable, initializing
status
- The status.SummaryStatus
public 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.SummaryStatus
public 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.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.