|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.services.ec2.model.InstanceStatusSummary
public class InstanceStatusSummary
Describes the status of an instance.
| Constructor Summary | |
|---|---|
InstanceStatusSummary()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public InstanceStatusSummary()
| Method Detail |
|---|
public java.lang.String getStatus()
Constraints:
Allowed Values: ok, impaired, insufficient-data, not-applicable
SummaryStatuspublic void setStatus(java.lang.String status)
Constraints:
Allowed Values: ok, impaired, insufficient-data, not-applicable
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
status - The status.
SummaryStatuspublic void setStatus(SummaryStatus status)
Constraints:
Allowed Values: ok, impaired, insufficient-data, not-applicable
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
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.Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||