Package com.amazonaws.services.ec2.model
Class InstanceStatusSummary
java.lang.Object
com.amazonaws.services.ec2.model.InstanceStatusSummary
- All Implemented Interfaces:
Serializable
,Cloneable
Describes the status of an instance.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The system instance health or application instance health.The status.int
hashCode()
void
setDetails
(Collection<InstanceStatusDetails> details) The system instance health or application instance health.void
setStatus
(SummaryStatus status) The status.void
The status.toString()
Returns a string representation of this object; useful for testing and debugging.withDetails
(InstanceStatusDetails... details) The system instance health or application instance health.withDetails
(Collection<InstanceStatusDetails> details) The system instance health or application instance health.withStatus
(SummaryStatus status) The status.withStatus
(String status) The status.
-
Constructor Details
-
InstanceStatusSummary
public InstanceStatusSummary()
-
-
Method Details
-
setStatus
The status.
- Parameters:
status
- The status.- See Also:
-
getStatus
The status.
- Returns:
- The status.
- See Also:
-
withStatus
The status.
- Parameters:
status
- The status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setStatus
The status.
- Parameters:
status
- The status.- See Also:
-
withStatus
The status.
- Parameters:
status
- The status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
getDetails
The system instance health or application instance health.
- Returns:
- The system instance health or application instance health.
-
setDetails
The system instance health or application instance health.
- Parameters:
details
- The system instance health or application instance health.
-
withDetails
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)
orwithDetails(java.util.Collection)
if you want to override the existing values.- Parameters:
details
- The system instance health or application instance health.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withDetails
The system instance health or application instance health.
- Parameters:
details
- The system instance health or application instance health.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-