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