Class DescribeSnapshotsResult
- All Implemented Interfaces:
Serializable
,Cloneable
Contains the output of DescribeSnapshots.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
TheNextToken
value to include in a futureDescribeSnapshots
request.Information about the snapshots.int
hashCode()
void
setNextToken
(String nextToken) TheNextToken
value to include in a futureDescribeSnapshots
request.void
setSnapshots
(Collection<Snapshot> snapshots) Information about the snapshots.toString()
Returns a string representation of this object; useful for testing and debugging.withNextToken
(String nextToken) TheNextToken
value to include in a futureDescribeSnapshots
request.withSnapshots
(Snapshot... snapshots) Information about the snapshots.withSnapshots
(Collection<Snapshot> snapshots) Information about the snapshots.
-
Constructor Details
-
DescribeSnapshotsResult
public DescribeSnapshotsResult()
-
-
Method Details
-
getSnapshots
Information about the snapshots.
- Returns:
- Information about the snapshots.
-
setSnapshots
Information about the snapshots.
- Parameters:
snapshots
- Information about the snapshots.
-
withSnapshots
Information about the snapshots.
NOTE: This method appends the values to the existing list (if any). Use
setSnapshots(java.util.Collection)
orwithSnapshots(java.util.Collection)
if you want to override the existing values.- Parameters:
snapshots
- Information about the snapshots.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withSnapshots
Information about the snapshots.
- Parameters:
snapshots
- Information about the snapshots.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
The
NextToken
value to include in a futureDescribeSnapshots
request. When the results of aDescribeSnapshots
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 futureDescribeSnapshots
request. When the results of aDescribeSnapshots
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 futureDescribeSnapshots
request. When the results of aDescribeSnapshots
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 futureDescribeSnapshots
request. When the results of aDescribeSnapshots
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 futureDescribeSnapshots
request. When the results of aDescribeSnapshots
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 futureDescribeSnapshots
request. When the results of aDescribeSnapshots
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
-