public static interface DescribeSnapshotsResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeSnapshotsResponse.Builder,DescribeSnapshotsResponse>
| Modifier and Type | Method and 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(Consumer<Snapshot.Builder>... snapshots)
Information about the snapshots.
|
DescribeSnapshotsResponse.Builder |
snapshots(Snapshot... snapshots)
Information about the snapshots.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDescribeSnapshotsResponse.Builder snapshots(Collection<Snapshot> snapshots)
Information about the snapshots.
snapshots - Information about the snapshots.DescribeSnapshotsResponse.Builder snapshots(Snapshot... snapshots)
Information about the snapshots.
snapshots - Information about the snapshots.DescribeSnapshotsResponse.Builder snapshots(Consumer<Snapshot.Builder>... snapshots)
Information about the snapshots.
This is a convenience method that creates an instance of theSnapshot.Builder avoiding the need to create one manually
via Snapshot.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #snapshots(List.
snapshots - a consumer that will call methods on
Snapshot.Builder#snapshots(java.util.Collection) 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 © 2022. All rights reserved.