public static interface CopySnapshotResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<CopySnapshotResponse.Builder,CopySnapshotResponse>
| Modifier and Type | Method and Description |
|---|---|
CopySnapshotResponse.Builder |
snapshotId(String snapshotId)
The ID of the new snapshot.
|
CopySnapshotResponse.Builder |
tags(Collection<Tag> tags)
Any tags applied to the new snapshot.
|
CopySnapshotResponse.Builder |
tags(Consumer<Tag.Builder>... tags)
Any tags applied to the new snapshot.
|
CopySnapshotResponse.Builder |
tags(Tag... tags)
Any tags applied to the new snapshot.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildCopySnapshotResponse.Builder snapshotId(String snapshotId)
The ID of the new snapshot.
snapshotId - The ID of the new snapshot.CopySnapshotResponse.Builder tags(Collection<Tag> tags)
Any tags applied to the new snapshot.
tags - Any tags applied to the new snapshot.CopySnapshotResponse.Builder tags(Tag... tags)
Any tags applied to the new snapshot.
tags - Any tags applied to the new snapshot.CopySnapshotResponse.Builder tags(Consumer<Tag.Builder>... tags)
Any tags applied to the new snapshot.
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one manually via
Tag.builder().
When the Consumer completes, SdkBuilder.build() is
called immediately and its result is passed to #tags(List.
tags - a consumer that will call methods on Tag.Builder#tags(java.util.Collection) Copyright © 2022. All rights reserved.