public class InstanceStatusSummary extends Object implements Serializable
Constructor and Description |
---|
InstanceStatusSummary() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<InstanceStatusDetails> |
getDetails()
Returns the value of the Details property for this object.
|
String |
getStatus()
Returns the value of the Status property for this object.
|
int |
hashCode() |
void |
setDetails(Collection<InstanceStatusDetails> details)
Sets the value of the Details property for this object.
|
void |
setStatus(String status)
Sets the value of the Status property for this object.
|
void |
setStatus(SummaryStatus status)
Sets the value of the Status property for this object.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
InstanceStatusSummary |
withDetails(Collection<InstanceStatusDetails> details)
Sets the value of the Details property for this object.
|
InstanceStatusSummary |
withDetails(InstanceStatusDetails... details)
Sets the value of the Details property for this object.
|
InstanceStatusSummary |
withStatus(String status)
Sets the value of the Status property for this object.
|
InstanceStatusSummary |
withStatus(SummaryStatus status)
Sets the value of the Status property for this object.
|
public String getStatus()
Constraints:
Allowed Values: ok, impaired, insufficient-data, not-applicable
SummaryStatus
public void setStatus(String status)
Constraints:
Allowed Values: ok, impaired, insufficient-data, not-applicable
status
- The new value for the Status property for this object.SummaryStatus
public 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
status
- The new value for the Status property for this object.SummaryStatus
public void setStatus(SummaryStatus status)
Constraints:
Allowed Values: ok, impaired, insufficient-data, not-applicable
status
- The new value for the Status property for this object.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
status
- The new value for the Status property for this object.SummaryStatus
public List<InstanceStatusDetails> getDetails()
public void setDetails(Collection<InstanceStatusDetails> details)
details
- The new value for the Details property for this object.public InstanceStatusSummary withDetails(InstanceStatusDetails... details)
Returns a reference to this object so that method calls can be chained together.
details
- The new value for the Details property for this object.public InstanceStatusSummary withDetails(Collection<InstanceStatusDetails> details)
Returns a reference to this object so that method calls can be chained together.
details
- The new value for the Details property for this object.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.