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 token to include in another request to return the next page of snapshots.
|
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 token to include in another request to return the next page of snapshots. This value is null
when there are no more snapshots to return.
nextToken - The token to include in another request to return the next page of snapshots. This value is
null when there are no more snapshots to return.Copyright © 2023. All rights reserved.