Class DescribeVolumesResult
- All Implemented Interfaces:
Serializable, Cloneable
Contains the output of DescribeVolumes.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanTheNextTokenvalue to include in a futureDescribeVolumesrequest.Information about the volumes.inthashCode()voidsetNextToken(String nextToken) TheNextTokenvalue to include in a futureDescribeVolumesrequest.voidsetVolumes(Collection<Volume> volumes) Information about the volumes.toString()Returns a string representation of this object; useful for testing and debugging.withNextToken(String nextToken) TheNextTokenvalue to include in a futureDescribeVolumesrequest.withVolumes(Volume... volumes) Information about the volumes.withVolumes(Collection<Volume> volumes) Information about the volumes.
-
Constructor Details
-
DescribeVolumesResult
public DescribeVolumesResult()
-
-
Method Details
-
getVolumes
-
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
NextTokenvalue to include in a futureDescribeVolumesrequest. When the results of aDescribeVolumesrequest exceedMaxResults, this value can be used to retrieve the next page of results. This value isnullwhen there are no more results to return.- Parameters:
nextToken- TheNextTokenvalue to include in a futureDescribeVolumesrequest. When the results of aDescribeVolumesrequest exceedMaxResults, this value can be used to retrieve the next page of results. This value isnullwhen there are no more results to return.
-
getNextToken
The
NextTokenvalue to include in a futureDescribeVolumesrequest. When the results of aDescribeVolumesrequest exceedMaxResults, this value can be used to retrieve the next page of results. This value isnullwhen there are no more results to return.- Returns:
- The
NextTokenvalue to include in a futureDescribeVolumesrequest. When the results of aDescribeVolumesrequest exceedMaxResults, this value can be used to retrieve the next page of results. This value isnullwhen there are no more results to return.
-
withNextToken
The
NextTokenvalue to include in a futureDescribeVolumesrequest. When the results of aDescribeVolumesrequest exceedMaxResults, this value can be used to retrieve the next page of results. This value isnullwhen there are no more results to return.- Parameters:
nextToken- TheNextTokenvalue to include in a futureDescribeVolumesrequest. When the results of aDescribeVolumesrequest exceedMaxResults, this value can be used to retrieve the next page of results. This value isnullwhen there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
-