com.amazonaws.services.ec2.model
Class VolumeStatusDetails

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

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

Describes a volume status.

See Also:
Serialized Form

Constructor Summary
VolumeStatusDetails()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getName()
          The name of the volume status.
 java.lang.String getStatus()
          The intended status of the volume status.
 int hashCode()
           
 void setName(java.lang.String name)
          The name of the volume status.
 void setName(VolumeStatusName name)
          The name of the volume status.
 void setStatus(java.lang.String status)
          The intended status of the volume status.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 VolumeStatusDetails withName(java.lang.String name)
          The name of the volume status.
 VolumeStatusDetails withName(VolumeStatusName name)
          The name of the volume status.
 VolumeStatusDetails withStatus(java.lang.String status)
          The intended status of the volume status.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VolumeStatusDetails

public VolumeStatusDetails()
Method Detail

getName

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

Constraints:
Allowed Values: io-enabled, io-performance

Returns:
The name of the volume status.
See Also:
VolumeStatusName

setName

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

Constraints:
Allowed Values: io-enabled, io-performance

Parameters:
name - The name of the volume status.
See Also:
VolumeStatusName

withName

public VolumeStatusDetails withName(java.lang.String name)
The name of the volume status.

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

Constraints:
Allowed Values: io-enabled, io-performance

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

setName

public void setName(VolumeStatusName name)
The name of the volume status.

Constraints:
Allowed Values: io-enabled, io-performance

Parameters:
name - The name of the volume status.
See Also:
VolumeStatusName

withName

public VolumeStatusDetails withName(VolumeStatusName name)
The name of the volume status.

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

Constraints:
Allowed Values: io-enabled, io-performance

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

getStatus

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

Returns:
The intended status of the volume status.

setStatus

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

Parameters:
status - The intended status of the volume status.

withStatus

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

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

Parameters:
status - The intended status 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.