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 method that creates an instance of theSnapshotInfo.Builder avoiding the need to create one
manually via SnapshotInfo.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
SnapshotInfo.Builder#snapshots(java.util.Collection) Copyright © 2023. All rights reserved.