public class DescribeVolumesResult extends Object implements Serializable
Constructor and Description |
---|
DescribeVolumesResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getNextToken()
The
NextToken value to include in a future
DescribeVolumes request. |
List<Volume> |
getVolumes() |
int |
hashCode() |
void |
setNextToken(String nextToken)
The
NextToken value to include in a future
DescribeVolumes request. |
void |
setVolumes(Collection<Volume> volumes) |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeVolumesResult |
withNextToken(String nextToken)
The
NextToken value to include in a future
DescribeVolumes request. |
DescribeVolumesResult |
withVolumes(Collection<Volume> volumes)
Returns a reference to this object so that method calls can be chained together.
|
DescribeVolumesResult |
withVolumes(Volume... volumes)
Returns a reference to this object so that method calls can be chained together.
|
public void setVolumes(Collection<Volume> volumes)
volumes
- public DescribeVolumesResult withVolumes(Volume... volumes)
Returns a reference to this object so that method calls can be chained together.
volumes
- public DescribeVolumesResult withVolumes(Collection<Volume> volumes)
Returns a reference to this object so that method calls can be chained together.
volumes
- public String getNextToken()
NextToken
value to include in a future
DescribeVolumes
request. When the results of a
DescribeVolumes
request exceed MaxResults
,
this value can be used to retrieve the next page of results. This
value is null
when there are no more results to return.NextToken
value to include in a future
DescribeVolumes
request. When the results of a
DescribeVolumes
request exceed MaxResults
,
this value can be used to retrieve the next page of results. This
value is null
when there are no more results to return.public void setNextToken(String nextToken)
NextToken
value to include in a future
DescribeVolumes
request. When the results of a
DescribeVolumes
request exceed MaxResults
,
this value can be used to retrieve the next page of results. This
value is null
when there are no more results to return.nextToken
- The NextToken
value to include in a future
DescribeVolumes
request. When the results of a
DescribeVolumes
request exceed MaxResults
,
this value can be used to retrieve the next page of results. This
value is null
when there are no more results to return.public DescribeVolumesResult withNextToken(String nextToken)
NextToken
value to include in a future
DescribeVolumes
request. When the results of a
DescribeVolumes
request exceed MaxResults
,
this value can be used to retrieve the next page of results. This
value is 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 NextToken
value to include in a future
DescribeVolumes
request. When the results of a
DescribeVolumes
request exceed MaxResults
,
this value can be used 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()
Copyright © 2014. All rights reserved.