public static interface CreateSnapshotRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<CreateSnapshotRequest.Builder,CreateSnapshotRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateSnapshotRequest.Builder |
description(String description)
A description for the snapshot.
|
CreateSnapshotRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateSnapshotRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateSnapshotRequest.Builder |
tagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the snapshot during creation.
|
CreateSnapshotRequest.Builder |
tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications)
The tags to apply to the snapshot during creation.
|
CreateSnapshotRequest.Builder |
tagSpecifications(TagSpecification... tagSpecifications)
The tags to apply to the snapshot during creation.
|
CreateSnapshotRequest.Builder |
volumeId(String volumeId)
The ID of the EBS volume.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateSnapshotRequest.Builder description(String description)
A description for the snapshot.
description - A description for the snapshot.CreateSnapshotRequest.Builder volumeId(String volumeId)
The ID of the EBS volume.
volumeId - The ID of the EBS volume.CreateSnapshotRequest.Builder tagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the snapshot during creation.
tagSpecifications - The tags to apply to the snapshot during creation.CreateSnapshotRequest.Builder tagSpecifications(TagSpecification... tagSpecifications)
The tags to apply to the snapshot during creation.
tagSpecifications - The tags to apply to the snapshot during creation.CreateSnapshotRequest.Builder tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications)
The tags to apply to the snapshot during creation.
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 #tagSpecifications(List) .tagSpecifications - a consumer that will call methods on List.Builder #tagSpecifications(List) CreateSnapshotRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateSnapshotRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2020. All rights reserved.