public static interface CreateSnapshotsResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<CreateSnapshotsResponse.Builder,CreateSnapshotsResponse>
| Modifier and Type | Method and Description |
|---|---|
CreateSnapshotsResponse.Builder |
snapshots(Collection<SnapshotInfo> snapshots)
List of snapshots.
|
CreateSnapshotsResponse.Builder |
snapshots(Consumer<SnapshotInfo.Builder>... snapshots)
List of snapshots.
|
CreateSnapshotsResponse.Builder |
snapshots(SnapshotInfo... snapshots)
List of snapshots.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateSnapshotsResponse.Builder snapshots(Collection<SnapshotInfo> snapshots)
List of snapshots.
snapshots - List of snapshots.CreateSnapshotsResponse.Builder snapshots(SnapshotInfo... snapshots)
List of snapshots.
snapshots - List of snapshots.CreateSnapshotsResponse.Builder snapshots(Consumer<SnapshotInfo.Builder>... snapshots)
List of 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) Copyright © 2022. All rights reserved.