public static interface CreateLegalHoldRequest.Builder extends BackupRequest.Builder, SdkPojo, CopyableBuilder<CreateLegalHoldRequest.Builder,CreateLegalHoldRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateLegalHoldRequest.Builder |
description(String description)
This is the string description of the legal hold.
|
CreateLegalHoldRequest.Builder |
idempotencyToken(String idempotencyToken)
This is a user-chosen string used to distinguish between otherwise identical calls.
|
CreateLegalHoldRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateLegalHoldRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
default CreateLegalHoldRequest.Builder |
recoveryPointSelection(Consumer<RecoveryPointSelection.Builder> recoveryPointSelection)
This specifies criteria to assign a set of resources, such as resource types or backup vaults.
|
CreateLegalHoldRequest.Builder |
recoveryPointSelection(RecoveryPointSelection recoveryPointSelection)
This specifies criteria to assign a set of resources, such as resource types or backup vaults.
|
CreateLegalHoldRequest.Builder |
tags(Map<String,String> tags)
Optional tags to include.
|
CreateLegalHoldRequest.Builder |
title(String title)
This is the string title of the legal hold.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateLegalHoldRequest.Builder title(String title)
This is the string title of the legal hold.
title - This is the string title of the legal hold.CreateLegalHoldRequest.Builder description(String description)
This is the string description of the legal hold.
description - This is the string description of the legal hold.CreateLegalHoldRequest.Builder idempotencyToken(String idempotencyToken)
This is a user-chosen string used to distinguish between otherwise identical calls. Retrying a successful request with the same idempotency token results in a success message with no action taken.
idempotencyToken - This is a user-chosen string used to distinguish between otherwise identical calls. Retrying a
successful request with the same idempotency token results in a success message with no action taken.CreateLegalHoldRequest.Builder recoveryPointSelection(RecoveryPointSelection recoveryPointSelection)
This specifies criteria to assign a set of resources, such as resource types or backup vaults.
recoveryPointSelection - This specifies criteria to assign a set of resources, such as resource types or backup vaults.default CreateLegalHoldRequest.Builder recoveryPointSelection(Consumer<RecoveryPointSelection.Builder> recoveryPointSelection)
This specifies criteria to assign a set of resources, such as resource types or backup vaults.
This is a convenience method that creates an instance of theRecoveryPointSelection.Builder avoiding
the need to create one manually via RecoveryPointSelection.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to recoveryPointSelection(RecoveryPointSelection).
recoveryPointSelection - a consumer that will call methods on RecoveryPointSelection.BuilderrecoveryPointSelection(RecoveryPointSelection)CreateLegalHoldRequest.Builder tags(Map<String,String> tags)
Optional tags to include. A tag is a key-value pair you can use to manage, filter, and search for your resources. Allowed characters include UTF-8 letters, numbers, spaces, and the following characters: + - = . _ : /.
tags - Optional tags to include. A tag is a key-value pair you can use to manage, filter, and search for your
resources. Allowed characters include UTF-8 letters, numbers, spaces, and the following characters: +
- = . _ : /.CreateLegalHoldRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateLegalHoldRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.