CopyableBuilder<DescribeSnapshotsResponse.Builder,DescribeSnapshotsResponse>
, SdkBuilder<DescribeSnapshotsResponse.Builder,DescribeSnapshotsResponse>
public static interface DescribeSnapshotsResponse.Builder extends CopyableBuilder<DescribeSnapshotsResponse.Builder,DescribeSnapshotsResponse>
Modifier and Type | Method | Description |
---|---|---|
DescribeSnapshotsResponse.Builder |
nextToken(String nextToken) |
If not null, more results are available.
|
DescribeSnapshotsResponse.Builder |
snapshots(Collection<Snapshot> snapshots) |
The list of Snapshot objects that were retrieved.
|
DescribeSnapshotsResponse.Builder |
snapshots(Snapshot... snapshots) |
The list of Snapshot objects that were retrieved.
|
copy
apply, build
DescribeSnapshotsResponse.Builder snapshots(Collection<Snapshot> snapshots)
The list of Snapshot objects that were retrieved.
It is possible that this list contains less than the number of items specified in the Limit member of the request. This occurs if there are less than the requested number of items left to retrieve, or if the limitations of the operation have been exceeded.
snapshots
- The list of Snapshot objects that were retrieved.
It is possible that this list contains less than the number of items specified in the Limit member of the request. This occurs if there are less than the requested number of items left to retrieve, or if the limitations of the operation have been exceeded.
DescribeSnapshotsResponse.Builder snapshots(Snapshot... snapshots)
The list of Snapshot objects that were retrieved.
It is possible that this list contains less than the number of items specified in the Limit member of the request. This occurs if there are less than the requested number of items left to retrieve, or if the limitations of the operation have been exceeded.
NOTE: This method appends the values to the existing list (if any). Use
#setSnapshots(java.util.Collection)
or #withSnapshots(java.util.Collection)
if you want to
override the existing values.
snapshots
- The list of Snapshot objects that were retrieved.
It is possible that this list contains less than the number of items specified in the Limit member of the request. This occurs if there are less than the requested number of items left to retrieve, or if the limitations of the operation have been exceeded.
DescribeSnapshotsResponse.Builder nextToken(String nextToken)
If not null, more results are available. Pass this value in the NextToken member of a subsequent call to DescribeSnapshots.
nextToken
- If not null, more results are available. Pass this value in the NextToken member of a
subsequent call to DescribeSnapshots.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.