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) |
The
NextToken value to include in a future DescribeSnapshots request. |
DescribeSnapshotsResponse.Builder |
snapshots(Collection<Snapshot> snapshots) |
Information about the snapshots.
|
DescribeSnapshotsResponse.Builder |
snapshots(Snapshot... snapshots) |
Information about the snapshots.
|
copy
apply, build
DescribeSnapshotsResponse.Builder snapshots(Collection<Snapshot> snapshots)
Information about the snapshots.
snapshots
- Information about the snapshots.DescribeSnapshotsResponse.Builder snapshots(Snapshot... snapshots)
Information about the snapshots.
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
- Information about the snapshots.DescribeSnapshotsResponse.Builder nextToken(String 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.
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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.