com.amazonaws.services.ec2.model
Class InstanceStatusSummary

java.lang.Object
  extended by com.amazonaws.services.ec2.model.InstanceStatusSummary
All Implemented Interfaces:
java.io.Serializable

public class InstanceStatusSummary
extends java.lang.Object
implements java.io.Serializable

Describes the status of an instance.

See Also:
Serialized Form

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

InstanceStatusSummary

public InstanceStatusSummary()
Method Detail

getStatus

public java.lang.String getStatus()
The status.

Constraints:
Allowed Values: ok, impaired, insufficient-data, not-applicable

Returns:
The status.
See Also:
SummaryStatus

setStatus

public void setStatus(java.lang.String status)
The status.

Constraints:
Allowed Values: ok, impaired, insufficient-data, not-applicable

Parameters:
status - The status.
See Also:
SummaryStatus

withStatus

public InstanceStatusSummary withStatus(java.lang.String status)
The status.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: ok, impaired, insufficient-data, not-applicable

Parameters:
status - The status.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
SummaryStatus

setStatus

public void setStatus(SummaryStatus status)
The status.

Constraints:
Allowed Values: ok, impaired, insufficient-data, not-applicable

Parameters:
status - The status.
See Also:
SummaryStatus

withStatus

public InstanceStatusSummary withStatus(SummaryStatus status)
The status.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: ok, impaired, insufficient-data, not-applicable

Parameters:
status - The status.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
SummaryStatus

getDetails

public java.util.List<InstanceStatusDetails> getDetails()
The system instance health or application instance health.

Returns:
The system instance health or application instance health.

setDetails

public void setDetails(java.util.Collection<InstanceStatusDetails> details)
The system instance health or application instance health.

Parameters:
details - The system instance health or application instance health.

withDetails

public InstanceStatusSummary withDetails(InstanceStatusDetails... details)
The system instance health or application instance health.

Returns a reference to this object so that method calls can be chained together.

Parameters:
details - The system instance health or application instance health.
Returns:
A reference to this updated object so that method calls can be chained together.

withDetails

public InstanceStatusSummary withDetails(java.util.Collection<InstanceStatusDetails> details)
The system instance health or application instance health.

Returns a reference to this object so that method calls can be chained together.

Parameters:
details - The system instance health or application instance health.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.