@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VolumeStatusItem extends Object implements Serializable, Cloneable
Describes the volume status.
Constructor and Description |
---|
VolumeStatusItem() |
Modifier and Type | Method and Description |
---|---|
VolumeStatusItem |
clone() |
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 List<VolumeStatusAction> getActions()
The details of the operation.
public void setActions(Collection<VolumeStatusAction> actions)
The details of the operation.
actions
- The details of the operation.public VolumeStatusItem withActions(VolumeStatusAction... actions)
The details of the operation.
NOTE: This method appends the values to the existing list (if any). Use
setActions(java.util.Collection)
or withActions(java.util.Collection)
if you want to override
the existing values.
actions
- The details of the operation.public VolumeStatusItem withActions(Collection<VolumeStatusAction> actions)
The details of the operation.
actions
- The details of the operation.public void setAvailabilityZone(String availabilityZone)
The Availability Zone of the volume.
availabilityZone
- The Availability Zone of the volume.public String getAvailabilityZone()
The Availability Zone of the volume.
public VolumeStatusItem withAvailabilityZone(String availabilityZone)
The Availability Zone of the volume.
availabilityZone
- The Availability Zone of the volume.public List<VolumeStatusEvent> getEvents()
A list of events associated with the volume.
public void setEvents(Collection<VolumeStatusEvent> events)
A list of events associated with the volume.
events
- A list of events associated with the volume.public VolumeStatusItem withEvents(VolumeStatusEvent... events)
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)
or withEvents(java.util.Collection)
if you want to override the
existing values.
events
- A list of events associated with the volume.public VolumeStatusItem withEvents(Collection<VolumeStatusEvent> events)
A list of events associated with the volume.
events
- A list of events associated with the volume.public void setVolumeId(String volumeId)
The volume ID.
volumeId
- The volume ID.public String getVolumeId()
The volume ID.
public VolumeStatusItem withVolumeId(String volumeId)
The volume ID.
volumeId
- The volume ID.public void setVolumeStatus(VolumeStatusInfo volumeStatus)
The volume status.
volumeStatus
- The volume status.public VolumeStatusInfo getVolumeStatus()
The volume status.
public VolumeStatusItem withVolumeStatus(VolumeStatusInfo volumeStatus)
The volume status.
volumeStatus
- The volume status.public String toString()
toString
in class Object
Object.toString()
public VolumeStatusItem clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.