Package com.amazonaws.services.ec2.model
Class VolumeStatusDetails
- java.lang.Object
-
- com.amazonaws.services.ec2.model.VolumeStatusDetails
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class VolumeStatusDetails extends Object implements Serializable, Cloneable
Describes a volume status.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VolumeStatusDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VolumeStatusDetails
clone()
boolean
equals(Object obj)
String
getName()
The name of the volume status.String
getStatus()
The intended status of the volume status.int
hashCode()
void
setName(VolumeStatusName name)
The name of the volume status.void
setName(String name)
The name of the volume status.void
setStatus(String status)
The intended status of the volume status.String
toString()
Returns a string representation of this object; useful for testing and debugging.VolumeStatusDetails
withName(VolumeStatusName name)
The name of the volume status.VolumeStatusDetails
withName(String name)
The name of the volume status.VolumeStatusDetails
withStatus(String status)
The intended status of the volume status.
-
-
-
Method Detail
-
setName
public void setName(String name)
The name of the volume status.
- Parameters:
name
- The name of the volume status.- See Also:
VolumeStatusName
-
getName
public String getName()
The name of the volume status.
- Returns:
- The name of the volume status.
- See Also:
VolumeStatusName
-
withName
public VolumeStatusDetails withName(String name)
The name of the volume status.
- Parameters:
name
- The name of the volume status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
VolumeStatusName
-
setName
public void setName(VolumeStatusName name)
The name of the volume status.
- Parameters:
name
- The name of the volume status.- See Also:
VolumeStatusName
-
withName
public VolumeStatusDetails withName(VolumeStatusName name)
The name of the volume status.
- Parameters:
name
- The name of the volume status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
VolumeStatusName
-
setStatus
public void setStatus(String status)
The intended status of the volume status.
- Parameters:
status
- The intended status of the volume status.
-
getStatus
public String getStatus()
The intended status of the volume status.
- Returns:
- The intended status of the volume status.
-
withStatus
public VolumeStatusDetails withStatus(String status)
The intended status of the volume status.
- Parameters:
status
- The intended status of the volume status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public VolumeStatusDetails clone()
-
-