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, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
CopySnapshotResponse.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 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 #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
Copyright © 2022. All rights reserved.