public static interface CreateReplaceRootVolumeTaskRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<CreateReplaceRootVolumeTaskRequest.Builder,CreateReplaceRootVolumeTaskRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateReplaceRootVolumeTaskRequest.Builder instanceId(String instanceId)
The ID of the instance for which to replace the root volume.
instanceId - The ID of the instance for which to replace the root volume.CreateReplaceRootVolumeTaskRequest.Builder snapshotId(String snapshotId)
The ID of the snapshot from which to restore the replacement root volume. If you want to restore the volume to the initial launch state, omit this parameter.
snapshotId - The ID of the snapshot from which to restore the replacement root volume. If you want to restore the
volume to the initial launch state, omit this parameter.CreateReplaceRootVolumeTaskRequest.Builder clientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure the idempotency of the request. If you do not specify a client token, a randomly generated token is used for the request to ensure idempotency. For more information, see Ensuring idempotency.
clientToken - Unique, case-sensitive identifier you provide to ensure the idempotency of the request. If you do not
specify a client token, a randomly generated token is used for the request to ensure idempotency. For
more information, see Ensuring
idempotency.CreateReplaceRootVolumeTaskRequest.Builder tagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the root volume replacement task.
tagSpecifications - The tags to apply to the root volume replacement task.CreateReplaceRootVolumeTaskRequest.Builder tagSpecifications(TagSpecification... tagSpecifications)
The tags to apply to the root volume replacement task.
tagSpecifications - The tags to apply to the root volume replacement task.CreateReplaceRootVolumeTaskRequest.Builder tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications)
The tags to apply to the root volume replacement task.
This is a convenience method that creates an instance of theTagSpecification.Builder avoiding the need to create one
manually via TagSpecification.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #tagSpecifications(List.
tagSpecifications - a consumer that will call methods on
TagSpecification.Builder#tagSpecifications(java.util.Collection) CreateReplaceRootVolumeTaskRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateReplaceRootVolumeTaskRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.