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, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, 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.
snapshots
- Information about the snapshots.DescribeSnapshotsResponse.Builder snapshots(Consumer<Snapshot.Builder>... snapshots)
Information about the snapshots.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #snapshots(List)
.snapshots
- a consumer that will call methods on List.Builder
#snapshots(List)
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 © 2020. All rights reserved.