Class DescribeVolumesResult
- All Implemented Interfaces:
Serializable
,Cloneable
Contains the output of DescribeVolumes.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
TheNextToken
value to include in a futureDescribeVolumes
request.Information about the volumes.int
hashCode()
void
setNextToken
(String nextToken) TheNextToken
value to include in a futureDescribeVolumes
request.void
setVolumes
(Collection<Volume> volumes) Information about the volumes.toString()
Returns a string representation of this object; useful for testing and debugging.withNextToken
(String nextToken) TheNextToken
value to include in a futureDescribeVolumes
request.withVolumes
(Volume... volumes) Information about the volumes.withVolumes
(Collection<Volume> volumes) Information about the volumes.
-
Constructor Details
-
DescribeVolumesResult
public DescribeVolumesResult()
-
-
Method Details
-
getVolumes
Information about the volumes.
- Returns:
- Information about the volumes.
-
setVolumes
Information about the volumes.
- Parameters:
volumes
- Information about the volumes.
-
withVolumes
Information about the volumes.
NOTE: This method appends the values to the existing list (if any). Use
setVolumes(java.util.Collection)
orwithVolumes(java.util.Collection)
if you want to override the existing values.- Parameters:
volumes
- Information about the volumes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withVolumes
Information about the volumes.
- Parameters:
volumes
- Information about the volumes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
The
NextToken
value to include in a futureDescribeVolumes
request. When the results of aDescribeVolumes
request exceedMaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.- Parameters:
nextToken
- TheNextToken
value to include in a futureDescribeVolumes
request. When the results of aDescribeVolumes
request exceedMaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.
-
getNextToken
The
NextToken
value to include in a futureDescribeVolumes
request. When the results of aDescribeVolumes
request exceedMaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.- Returns:
- The
NextToken
value to include in a futureDescribeVolumes
request. When the results of aDescribeVolumes
request exceedMaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.
-
withNextToken
The
NextToken
value to include in a futureDescribeVolumes
request. When the results of aDescribeVolumes
request exceedMaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.- Parameters:
nextToken
- TheNextToken
value to include in a futureDescribeVolumes
request. When the results of aDescribeVolumes
request exceedMaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-