@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 List<InstanceStatusDetails> getDetails()
The system instance health or application instance health.
public void setDetails(Collection<InstanceStatusDetails> details)
The system instance health or application instance health.
details
- The system instance health or application instance health.public InstanceStatusSummary withDetails(InstanceStatusDetails... details)
The system instance health or application instance health.
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.
details
- The system instance health or application instance health.public InstanceStatusSummary withDetails(Collection<InstanceStatusDetails> details)
The system instance health or application instance health.
details
- The system instance health or application instance health.public void setStatus(String status)
The status.
status
- The status.SummaryStatus
public String getStatus()
The status.
SummaryStatus
public InstanceStatusSummary withStatus(String status)
The status.
status
- The status.SummaryStatus
public void setStatus(SummaryStatus status)
The status.
status
- The status.SummaryStatus
public InstanceStatusSummary withStatus(SummaryStatus status)
The status.
status
- The status.SummaryStatus
public String toString()
toString
in class Object
Object.toString()
public InstanceStatusSummary clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.