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 |
outpostArn(String outpostArn)
The Amazon Resource Name (ARN) of the Outpost on which to create the local 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.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateSnapshotsRequest.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.BuilderinstanceSpecification(InstanceSpecification)CreateSnapshotsRequest.Builder outpostArn(String outpostArn)
The Amazon Resource Name (ARN) of the Outpost on which to create the local snapshots.
To create snapshots from an instance in a Region, omit this parameter. The snapshots are created in the same Region as the instance.
To create snapshots from an instance on an Outpost and store the snapshots in the Region, omit this parameter. The snapshots are created in the Region for the Outpost.
To create snapshots from an instance on an Outpost and store the snapshots on an Outpost, specify the ARN of the destination Outpost. The snapshots must be created on the same Outpost as the instance.
For more information, see Create multi-volume local snapshots from instances on an Outpost in the Amazon Elastic Compute Cloud User Guide.
outpostArn - The Amazon Resource Name (ARN) of the Outpost on which to create the local snapshots.
To create snapshots from an instance in a Region, omit this parameter. The snapshots are created in the same Region as the instance.
To create snapshots from an instance on an Outpost and store the snapshots in the Region, omit this parameter. The snapshots are created in the Region for the Outpost.
To create snapshots from an instance on an Outpost and store the snapshots on an Outpost, specify the ARN of the destination Outpost. The snapshots must be created on the same Outpost as the instance.
For more information, see Create multi-volume local snapshots from instances on an Outpost in the Amazon Elastic Compute Cloud User Guide.
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,
CopyTagsFromSourceCreateSnapshotsRequest.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,
CopyTagsFromSourceCreateSnapshotsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateSnapshotsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.