public static interface CreateSnapshotsRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<CreateSnapshotsRequest.Builder,CreateSnapshotsRequest>
Modifier and Type | Method and Description |
---|---|
CreateSnapshotsRequest.Builder |
copyTagsFromSource(CopyTagsFromSource copyTagsFromSource)
Copies the tags from the specified volume to corresponding snapshot.
|
CreateSnapshotsRequest.Builder |
copyTagsFromSource(String copyTagsFromSource)
Copies the tags from the specified volume to corresponding snapshot.
|
CreateSnapshotsRequest.Builder |
description(String description)
A description propagated to every snapshot specified by the instance.
|
default CreateSnapshotsRequest.Builder |
instanceSpecification(Consumer<InstanceSpecification.Builder> instanceSpecification)
The instance to specify which volumes should be included in the snapshots.
|
CreateSnapshotsRequest.Builder |
instanceSpecification(InstanceSpecification instanceSpecification)
The instance to specify which volumes should be included in the snapshots.
|
CreateSnapshotsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateSnapshotsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateSnapshotsRequest.Builder |
tagSpecifications(Collection<TagSpecification> tagSpecifications)
Tags to apply to every snapshot specified by the instance.
|
CreateSnapshotsRequest.Builder |
tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications)
Tags to apply to every snapshot specified by the instance.
|
CreateSnapshotsRequest.Builder |
tagSpecifications(TagSpecification... tagSpecifications)
Tags to apply to every snapshot specified by the instance.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreateSnapshotsRequest.Builder description(String description)
A description propagated to every snapshot specified by the instance.
description
- A description propagated to every snapshot specified by the instance.CreateSnapshotsRequest.Builder instanceSpecification(InstanceSpecification instanceSpecification)
The instance to specify which volumes should be included in the snapshots.
instanceSpecification
- The instance to specify which volumes should be included in the snapshots.default CreateSnapshotsRequest.Builder instanceSpecification(Consumer<InstanceSpecification.Builder> instanceSpecification)
The instance to specify which volumes should be included in the snapshots.
This is a convenience that creates an instance of theInstanceSpecification.Builder
avoiding the need
to create one manually via InstanceSpecification.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to instanceSpecification(InstanceSpecification)
.instanceSpecification
- a consumer that will call methods on InstanceSpecification.Builder
instanceSpecification(InstanceSpecification)
CreateSnapshotsRequest.Builder tagSpecifications(Collection<TagSpecification> tagSpecifications)
Tags to apply to every snapshot specified by the instance.
tagSpecifications
- Tags to apply to every snapshot specified by the instance.CreateSnapshotsRequest.Builder tagSpecifications(TagSpecification... tagSpecifications)
Tags to apply to every snapshot specified by the instance.
tagSpecifications
- Tags to apply to every snapshot specified by the instance.CreateSnapshotsRequest.Builder tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications)
Tags to apply to every snapshot specified by the instance.
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)
CreateSnapshotsRequest.Builder copyTagsFromSource(String copyTagsFromSource)
Copies the tags from the specified volume to corresponding snapshot.
copyTagsFromSource
- Copies the tags from the specified volume to corresponding snapshot.CopyTagsFromSource
,
CopyTagsFromSource
CreateSnapshotsRequest.Builder copyTagsFromSource(CopyTagsFromSource copyTagsFromSource)
Copies the tags from the specified volume to corresponding snapshot.
copyTagsFromSource
- Copies the tags from the specified volume to corresponding snapshot.CopyTagsFromSource
,
CopyTagsFromSource
CreateSnapshotsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
CreateSnapshotsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2020. All rights reserved.