@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 use to retrieve the next page of results.
|
List<VolumeStatusItem> |
getVolumeStatuses()
Information about the status of the volumes.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
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 use to retrieve the next page of results.
|
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 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 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()