public class DescribeSnapshotsResult extends Object implements Serializable, Cloneable
| Constructor and Description |
|---|
DescribeSnapshotsResult() |
| Modifier and Type | Method and Description |
|---|---|
DescribeSnapshotsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The
NextToken value to include in a future
DescribeSnapshots request. |
List<Snapshot> |
getSnapshots() |
int |
hashCode() |
void |
setNextToken(String nextToken)
The
NextToken value to include in a future
DescribeSnapshots request. |
void |
setSnapshots(Collection<Snapshot> snapshots) |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeSnapshotsResult |
withNextToken(String nextToken)
The
NextToken value to include in a future
DescribeSnapshots request. |
DescribeSnapshotsResult |
withSnapshots(Collection<Snapshot> snapshots)
Returns a reference to this object so that method calls can be chained together.
|
DescribeSnapshotsResult |
withSnapshots(Snapshot... snapshots)
Returns a reference to this object so that method calls can be chained together.
|
public void setSnapshots(Collection<Snapshot> snapshots)
snapshots - public DescribeSnapshotsResult withSnapshots(Snapshot... snapshots)
Returns a reference to this object so that method calls can be chained together.
snapshots - public DescribeSnapshotsResult withSnapshots(Collection<Snapshot> snapshots)
Returns a reference to this object so that method calls can be chained together.
snapshots - public String getNextToken()
NextToken value to include in a future
DescribeSnapshots request. When the results of a
DescribeSnapshots 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
DescribeSnapshots request. When the results of a
DescribeSnapshots 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
DescribeSnapshots request. When the results of a
DescribeSnapshots 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
DescribeSnapshots request. When the results of a
DescribeSnapshots 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 DescribeSnapshotsResult withNextToken(String nextToken)
NextToken value to include in a future
DescribeSnapshots request. When the results of a
DescribeSnapshots 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
DescribeSnapshots request. When the results of a
DescribeSnapshots 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 ObjectObject.toString()public DescribeSnapshotsResult clone()
Copyright © 2015. All rights reserved.