Class VolumeStatusItem
- All Implemented Interfaces:
Serializable
,Cloneable
Describes the volume status.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The details of the operation.The Availability Zone of the volume.A list of events associated with the volume.The volume ID.The volume status.int
hashCode()
void
setActions
(Collection<VolumeStatusAction> actions) The details of the operation.void
setAvailabilityZone
(String availabilityZone) The Availability Zone of the volume.void
setEvents
(Collection<VolumeStatusEvent> events) A list of events associated with the volume.void
setVolumeId
(String volumeId) The volume ID.void
setVolumeStatus
(VolumeStatusInfo volumeStatus) The volume status.toString()
Returns a string representation of this object; useful for testing and debugging.withActions
(VolumeStatusAction... actions) The details of the operation.withActions
(Collection<VolumeStatusAction> actions) The details of the operation.withAvailabilityZone
(String availabilityZone) The Availability Zone of the volume.withEvents
(VolumeStatusEvent... events) A list of events associated with the volume.withEvents
(Collection<VolumeStatusEvent> events) A list of events associated with the volume.withVolumeId
(String volumeId) The volume ID.withVolumeStatus
(VolumeStatusInfo volumeStatus) The volume status.
-
Constructor Details
-
VolumeStatusItem
public VolumeStatusItem()
-
-
Method Details
-
setVolumeId
The volume ID.
- Parameters:
volumeId
- The volume ID.
-
getVolumeId
The volume ID.
- Returns:
- The volume ID.
-
withVolumeId
The volume ID.
- Parameters:
volumeId
- The volume ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAvailabilityZone
The Availability Zone of the volume.
- Parameters:
availabilityZone
- The Availability Zone of the volume.
-
getAvailabilityZone
The Availability Zone of the volume.
- Returns:
- The Availability Zone of the volume.
-
withAvailabilityZone
The Availability Zone of the volume.
- Parameters:
availabilityZone
- The Availability Zone of the volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVolumeStatus
The volume status.
- Parameters:
volumeStatus
- The volume status.
-
getVolumeStatus
The volume status.
- Returns:
- The volume status.
-
withVolumeStatus
The volume status.
- Parameters:
volumeStatus
- The volume status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getEvents
A list of events associated with the volume.
- Returns:
- A list of events associated with the volume.
-
setEvents
A list of events associated with the volume.
- Parameters:
events
- A list of events associated with the volume.
-
withEvents
A list of events associated with the volume.
NOTE: This method appends the values to the existing list (if any). Use
setEvents(java.util.Collection)
orwithEvents(java.util.Collection)
if you want to override the existing values.- Parameters:
events
- A list of events associated with the volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withEvents
A list of events associated with the volume.
- Parameters:
events
- A list of events associated with the volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getActions
The details of the operation.
- Returns:
- The details of the operation.
-
setActions
The details of the operation.
- Parameters:
actions
- The details of the operation.
-
withActions
The details of the operation.
NOTE: This method appends the values to the existing list (if any). Use
setActions(java.util.Collection)
orwithActions(java.util.Collection)
if you want to override the existing values.- Parameters:
actions
- The details of the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withActions
The details of the operation.
- Parameters:
actions
- The details of the operation.- 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
-