Class DescribeSnapshotsResult
- All Implemented Interfaces:
Serializable,Cloneable
Contains the output of DescribeSnapshots.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanTheNextTokenvalue to include in a futureDescribeSnapshotsrequest.Information about the snapshots.inthashCode()voidsetNextToken(String nextToken) TheNextTokenvalue to include in a futureDescribeSnapshotsrequest.voidsetSnapshots(Collection<Snapshot> snapshots) Information about the snapshots.toString()Returns a string representation of this object; useful for testing and debugging.withNextToken(String nextToken) TheNextTokenvalue to include in a futureDescribeSnapshotsrequest.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
NextTokenvalue to include in a futureDescribeSnapshotsrequest. When the results of aDescribeSnapshotsrequest 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 futureDescribeSnapshotsrequest. When the results of aDescribeSnapshotsrequest 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 futureDescribeSnapshotsrequest. When the results of aDescribeSnapshotsrequest 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 futureDescribeSnapshotsrequest. When the results of aDescribeSnapshotsrequest 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 futureDescribeSnapshotsrequest. When the results of aDescribeSnapshotsrequest 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 futureDescribeSnapshotsrequest. When the results of aDescribeSnapshotsrequest 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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-