Package com.amazonaws.services.ec2.model
Class VolumeStatusInfo
java.lang.Object
com.amazonaws.services.ec2.model.VolumeStatusInfo
- All Implemented Interfaces:
Serializable
,Cloneable
Describes the status of a volume.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The details of the volume status.The status of the volume.int
hashCode()
void
setDetails
(Collection<VolumeStatusDetails> details) The details of the volume status.void
setStatus
(VolumeStatusInfoStatus status) The status of the volume.void
The status of the volume.toString()
Returns a string representation of this object; useful for testing and debugging.withDetails
(VolumeStatusDetails... details) The details of the volume status.withDetails
(Collection<VolumeStatusDetails> details) The details of the volume status.withStatus
(VolumeStatusInfoStatus status) The status of the volume.withStatus
(String status) The status of the volume.
-
Constructor Details
-
VolumeStatusInfo
public VolumeStatusInfo()
-
-
Method Details
-
setStatus
The status of the volume.
- Parameters:
status
- The status of the volume.- See Also:
-
getStatus
The status of the volume.
- Returns:
- The status of the volume.
- See Also:
-
withStatus
The status of the volume.
- Parameters:
status
- The status of the volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setStatus
The status of the volume.
- Parameters:
status
- The status of the volume.- See Also:
-
withStatus
The status of the volume.
- Parameters:
status
- The status of the volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
getDetails
The details of the volume status.
- Returns:
- The details of the volume status.
-
setDetails
The details of the volume status.
- Parameters:
details
- The details of the volume status.
-
withDetails
The details of the volume status.
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 details of the volume status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withDetails
The details of the volume status.
- Parameters:
details
- The details of the volume status.- 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
-