com.amazonaws.services.ec2.model
Class VolumeStatusInfo

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

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

Describes the status of a volume.

See Also:
Serialized Form

Constructor Summary
VolumeStatusInfo()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.List<VolumeStatusDetails> getDetails()
          The details of the volume status.
 java.lang.String getStatus()
          The status of the volume.
 int hashCode()
           
 void setDetails(java.util.Collection<VolumeStatusDetails> details)
          The details of the volume status.
 void setStatus(java.lang.String status)
          The status of the volume.
 void setStatus(VolumeStatusInfoStatus status)
          The status of the volume.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 VolumeStatusInfo withDetails(java.util.Collection<VolumeStatusDetails> details)
          The details of the volume status.
 VolumeStatusInfo withDetails(VolumeStatusDetails... details)
          The details of the volume status.
 VolumeStatusInfo withStatus(java.lang.String status)
          The status of the volume.
 VolumeStatusInfo withStatus(VolumeStatusInfoStatus status)
          The status of the volume.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VolumeStatusInfo

public VolumeStatusInfo()
Method Detail

getStatus

public java.lang.String getStatus()
The status of the volume.

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

Returns:
The status of the volume.
See Also:
VolumeStatusInfoStatus

setStatus

public void setStatus(java.lang.String status)
The status of the volume.

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

Parameters:
status - The status of the volume.
See Also:
VolumeStatusInfoStatus

withStatus

public VolumeStatusInfo withStatus(java.lang.String status)
The status of the volume.

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

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

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

setStatus

public void setStatus(VolumeStatusInfoStatus status)
The status of the volume.

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

Parameters:
status - The status of the volume.
See Also:
VolumeStatusInfoStatus

withStatus

public VolumeStatusInfo withStatus(VolumeStatusInfoStatus status)
The status of the volume.

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

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

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

getDetails

public java.util.List<VolumeStatusDetails> getDetails()
The details of the volume status.

Returns:
The details of the volume status.

setDetails

public void setDetails(java.util.Collection<VolumeStatusDetails> details)
The details of the volume status.

Parameters:
details - The details of the volume status.

withDetails

public VolumeStatusInfo withDetails(VolumeStatusDetails... details)
The details of the volume status.

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

Parameters:
details - The details of the volume status.
Returns:
A reference to this updated object so that method calls can be chained together.

withDetails

public VolumeStatusInfo withDetails(java.util.Collection<VolumeStatusDetails> details)
The details of the volume status.

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

Parameters:
details - The details of the volume status.
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.