@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeVolumeStatusResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeVolumeStatusResult() |
Modifier and Type | Method and Description |
---|---|
DescribeVolumeStatusResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to include in another request to get the next page of items.
|
List<VolumeStatusItem> |
getVolumeStatuses()
Information about the status of the volumes.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to include in another request to get the next page of items.
|
void |
setVolumeStatuses(Collection<VolumeStatusItem> volumeStatuses)
Information about the status of the volumes.
|
String |
toString()
Returns a string representation of this object.
|
DescribeVolumeStatusResult |
withNextToken(String nextToken)
The token to include in another request to get the next page of items.
|
DescribeVolumeStatusResult |
withVolumeStatuses(Collection<VolumeStatusItem> volumeStatuses)
Information about the status of the volumes.
|
DescribeVolumeStatusResult |
withVolumeStatuses(VolumeStatusItem... volumeStatuses)
Information about the status of the volumes.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
The token to include in another request to get the next page of items. This value is null
when there
are no more items to return.
nextToken
- The token to include in another request to get the next page of items. This value is null
when there are no more items to return.public String getNextToken()
The token to include in another request to get the next page of items. This value is null
when there
are no more items to return.
null
when there are no more items to return.public DescribeVolumeStatusResult withNextToken(String nextToken)
The token to include in another request to get the next page of items. This value is null
when there
are no more items to return.
nextToken
- The token to include in another request to get the next page of items. This value is null
when there are no more items to return.public List<VolumeStatusItem> getVolumeStatuses()
Information about the status of the volumes.
public void setVolumeStatuses(Collection<VolumeStatusItem> volumeStatuses)
Information about the status of the volumes.
volumeStatuses
- Information about the status of the volumes.public DescribeVolumeStatusResult withVolumeStatuses(VolumeStatusItem... volumeStatuses)
Information about the status of the volumes.
NOTE: This method appends the values to the existing list (if any). Use
setVolumeStatuses(java.util.Collection)
or withVolumeStatuses(java.util.Collection)
if you want
to override the existing values.
volumeStatuses
- Information about the status of the volumes.public DescribeVolumeStatusResult withVolumeStatuses(Collection<VolumeStatusItem> volumeStatuses)
Information about the status of the volumes.
volumeStatuses
- Information about the status of the volumes.public String toString()
toString
in class Object
Object.toString()
public DescribeVolumeStatusResult clone()