public class DescribeVolumeStatusResult extends Object implements Serializable, Cloneable
Constructor and Description |
---|
DescribeVolumeStatusResult() |
Modifier and Type | Method and Description |
---|---|
DescribeVolumeStatusResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to use to retrieve the next page of results.
|
List<VolumeStatusItem> |
getVolumeStatuses()
A list of volumes.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
void |
setVolumeStatuses(Collection<VolumeStatusItem> volumeStatuses)
A list of volumes.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeVolumeStatusResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
DescribeVolumeStatusResult |
withVolumeStatuses(Collection<VolumeStatusItem> volumeStatuses)
A list of volumes.
|
DescribeVolumeStatusResult |
withVolumeStatuses(VolumeStatusItem... volumeStatuses)
A list of volumes.
|
public List<VolumeStatusItem> getVolumeStatuses()
A list of volumes.
public void setVolumeStatuses(Collection<VolumeStatusItem> volumeStatuses)
A list of volumes.
volumeStatuses
- A list of volumes.public DescribeVolumeStatusResult withVolumeStatuses(VolumeStatusItem... volumeStatuses)
A list of 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
- A list of volumes.public DescribeVolumeStatusResult withVolumeStatuses(Collection<VolumeStatusItem> volumeStatuses)
A list of volumes.
volumeStatuses
- A list of volumes.public void setNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
nextToken
- The token to use to retrieve the next page of results. This value
is null
when there are no more results to return.public String getNextToken()
The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
null
when there are no more results to return.public DescribeVolumeStatusResult withNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
nextToken
- The token to use to retrieve the next page of results. This value
is null
when there are no more results to return.public String toString()
toString
in class Object
Object.toString()
public DescribeVolumeStatusResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.