public class VolumeStatusItem extends Object implements Serializable
Describes the volume status.
Constructor and Description |
---|
VolumeStatusItem() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<VolumeStatusAction> |
getActions()
The details of the operation.
|
String |
getAvailabilityZone()
The Availability Zone of the volume.
|
List<VolumeStatusEvent> |
getEvents()
A list of events associated with the volume.
|
String |
getVolumeId()
The volume ID.
|
VolumeStatusInfo |
getVolumeStatus()
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.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
VolumeStatusItem |
withActions(Collection<VolumeStatusAction> actions)
The details of the operation.
|
VolumeStatusItem |
withActions(VolumeStatusAction... actions)
The details of the operation.
|
VolumeStatusItem |
withAvailabilityZone(String availabilityZone)
The Availability Zone of the volume.
|
VolumeStatusItem |
withEvents(Collection<VolumeStatusEvent> events)
A list of events associated with the volume.
|
VolumeStatusItem |
withEvents(VolumeStatusEvent... events)
A list of events associated with the volume.
|
VolumeStatusItem |
withVolumeId(String volumeId)
The volume ID.
|
VolumeStatusItem |
withVolumeStatus(VolumeStatusInfo volumeStatus)
The volume status.
|
public String getVolumeId()
public void setVolumeId(String volumeId)
volumeId
- The volume ID.public VolumeStatusItem withVolumeId(String volumeId)
Returns a reference to this object so that method calls can be chained together.
volumeId
- The volume ID.public String getAvailabilityZone()
public void setAvailabilityZone(String availabilityZone)
availabilityZone
- The Availability Zone of the volume.public VolumeStatusItem withAvailabilityZone(String availabilityZone)
Returns a reference to this object so that method calls can be chained together.
availabilityZone
- The Availability Zone of the volume.public VolumeStatusInfo getVolumeStatus()
public void setVolumeStatus(VolumeStatusInfo volumeStatus)
volumeStatus
- The volume status.public VolumeStatusItem withVolumeStatus(VolumeStatusInfo volumeStatus)
Returns a reference to this object so that method calls can be chained together.
volumeStatus
- The volume status.public List<VolumeStatusEvent> getEvents()
public void setEvents(Collection<VolumeStatusEvent> events)
events
- A list of events associated with the volume.public VolumeStatusItem withEvents(VolumeStatusEvent... events)
Returns a reference to this object so that method calls can be chained together.
events
- A list of events associated with the volume.public VolumeStatusItem withEvents(Collection<VolumeStatusEvent> events)
Returns a reference to this object so that method calls can be chained together.
events
- A list of events associated with the volume.public List<VolumeStatusAction> getActions()
public void setActions(Collection<VolumeStatusAction> actions)
actions
- The details of the operation.public VolumeStatusItem withActions(VolumeStatusAction... actions)
Returns a reference to this object so that method calls can be chained together.
actions
- The details of the operation.public VolumeStatusItem withActions(Collection<VolumeStatusAction> actions)
Returns a reference to this object so that method calls can be chained together.
actions
- The details of the operation.public String toString()
toString
in class Object
Object.toString()
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.