@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.
|
List<VolumeStatusAttachmentStatus> |
getAttachmentStatuses()
Information about the instances to which the volume is attached.
|
String |
getAvailabilityZone()
The Availability Zone of the volume.
|
List<VolumeStatusEvent> |
getEvents()
A list of events associated with the volume.
|
String |
getOutpostArn()
The Amazon Resource Name (ARN) of the Outpost.
|
String |
getVolumeId()
The volume ID.
|
VolumeStatusInfo |
getVolumeStatus()
The volume status.
|
int |
hashCode() |
void |
setActions(Collection<VolumeStatusAction> actions)
The details of the operation.
|
void |
setAttachmentStatuses(Collection<VolumeStatusAttachmentStatus> attachmentStatuses)
Information about the instances to which the volume is attached.
|
void |
setAvailabilityZone(String availabilityZone)
The Availability Zone of the volume.
|
void |
setEvents(Collection<VolumeStatusEvent> events)
A list of events associated with the volume.
|
void |
setOutpostArn(String outpostArn)
The Amazon Resource Name (ARN) of the Outpost.
|
void |
setVolumeId(String volumeId)
The volume ID.
|
void |
setVolumeStatus(VolumeStatusInfo volumeStatus)
The volume status.
|
String |
toString()
Returns a string representation of this object.
|
VolumeStatusItem |
withActions(Collection<VolumeStatusAction> actions)
The details of the operation.
|
VolumeStatusItem |
withActions(VolumeStatusAction... actions)
The details of the operation.
|
VolumeStatusItem |
withAttachmentStatuses(Collection<VolumeStatusAttachmentStatus> attachmentStatuses)
Information about the instances to which the volume is attached.
|
VolumeStatusItem |
withAttachmentStatuses(VolumeStatusAttachmentStatus... attachmentStatuses)
Information about the instances to which the volume is attached.
|
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 |
withOutpostArn(String outpostArn)
The Amazon Resource Name (ARN) of the Outpost.
|
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 void setOutpostArn(String outpostArn)
The Amazon Resource Name (ARN) of the Outpost.
outpostArn
- The Amazon Resource Name (ARN) of the Outpost.public String getOutpostArn()
The Amazon Resource Name (ARN) of the Outpost.
public VolumeStatusItem withOutpostArn(String outpostArn)
The Amazon Resource Name (ARN) of the Outpost.
outpostArn
- The Amazon Resource Name (ARN) of the Outpost.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 List<VolumeStatusAttachmentStatus> getAttachmentStatuses()
Information about the instances to which the volume is attached.
public void setAttachmentStatuses(Collection<VolumeStatusAttachmentStatus> attachmentStatuses)
Information about the instances to which the volume is attached.
attachmentStatuses
- Information about the instances to which the volume is attached.public VolumeStatusItem withAttachmentStatuses(VolumeStatusAttachmentStatus... attachmentStatuses)
Information about the instances to which the volume is attached.
NOTE: This method appends the values to the existing list (if any). Use
setAttachmentStatuses(java.util.Collection)
or withAttachmentStatuses(java.util.Collection)
if
you want to override the existing values.
attachmentStatuses
- Information about the instances to which the volume is attached.public VolumeStatusItem withAttachmentStatuses(Collection<VolumeStatusAttachmentStatus> attachmentStatuses)
Information about the instances to which the volume is attached.
attachmentStatuses
- Information about the instances to which the volume is attached.public String toString()
toString
in class Object
Object.toString()
public VolumeStatusItem clone()