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()
public void setVolumeStatuses(Collection<VolumeStatusItem> volumeStatuses)
volumeStatuses
- A list of volumes.public DescribeVolumeStatusResult withVolumeStatuses(VolumeStatusItem... volumeStatuses)
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.
Returns a reference to this object so that method calls can be chained together.
volumeStatuses
- A list of volumes.public DescribeVolumeStatusResult withVolumeStatuses(Collection<VolumeStatusItem> volumeStatuses)
Returns a reference to this object so that method calls can be chained together.
volumeStatuses
- A list of volumes.public String getNextToken()
null
when there are no more results to return.null
when there are no more results to return.public void setNextToken(String nextToken)
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 DescribeVolumeStatusResult withNextToken(String nextToken)
null
when there are no more results to return.
Returns a reference to this object so that method calls can be chained together.
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 © 2015. All rights reserved.