public static interface CreateLegalHoldResponse.Builder extends BackupResponse.Builder, SdkPojo, CopyableBuilder<CreateLegalHoldResponse.Builder,CreateLegalHoldResponse>
| Modifier and Type | Method and Description |
|---|---|
CreateLegalHoldResponse.Builder |
creationDate(Instant creationDate)
Time in number format when legal hold was created.
|
CreateLegalHoldResponse.Builder |
description(String description)
This is the returned string description of the legal hold.
|
CreateLegalHoldResponse.Builder |
legalHoldArn(String legalHoldArn)
This is the ARN (Amazon Resource Number) of the created legal hold.
|
CreateLegalHoldResponse.Builder |
legalHoldId(String legalHoldId)
Legal hold ID returned for the specified legal hold on a recovery point.
|
default CreateLegalHoldResponse.Builder |
recoveryPointSelection(Consumer<RecoveryPointSelection.Builder> recoveryPointSelection)
This specifies criteria to assign a set of resources, such as resource types or backup vaults.
|
CreateLegalHoldResponse.Builder |
recoveryPointSelection(RecoveryPointSelection recoveryPointSelection)
This specifies criteria to assign a set of resources, such as resource types or backup vaults.
|
CreateLegalHoldResponse.Builder |
status(LegalHoldStatus status)
This displays the status of the legal hold returned after creating the legal hold.
|
CreateLegalHoldResponse.Builder |
status(String status)
This displays the status of the legal hold returned after creating the legal hold.
|
CreateLegalHoldResponse.Builder |
title(String title)
This is the string title of the legal hold returned after creating the legal hold.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateLegalHoldResponse.Builder title(String title)
This is the string title of the legal hold returned after creating the legal hold.
title - This is the string title of the legal hold returned after creating the legal hold.CreateLegalHoldResponse.Builder status(String status)
This displays the status of the legal hold returned after creating the legal hold. Statuses can be
ACTIVE, PENDING, CANCELED, CANCELING, or
FAILED.
status - This displays the status of the legal hold returned after creating the legal hold. Statuses can be
ACTIVE, PENDING, CANCELED, CANCELING, or
FAILED.LegalHoldStatus,
LegalHoldStatusCreateLegalHoldResponse.Builder status(LegalHoldStatus status)
This displays the status of the legal hold returned after creating the legal hold. Statuses can be
ACTIVE, PENDING, CANCELED, CANCELING, or
FAILED.
status - This displays the status of the legal hold returned after creating the legal hold. Statuses can be
ACTIVE, PENDING, CANCELED, CANCELING, or
FAILED.LegalHoldStatus,
LegalHoldStatusCreateLegalHoldResponse.Builder description(String description)
This is the returned string description of the legal hold.
description - This is the returned string description of the legal hold.CreateLegalHoldResponse.Builder legalHoldId(String legalHoldId)
Legal hold ID returned for the specified legal hold on a recovery point.
legalHoldId - Legal hold ID returned for the specified legal hold on a recovery point.CreateLegalHoldResponse.Builder legalHoldArn(String legalHoldArn)
This is the ARN (Amazon Resource Number) of the created legal hold.
legalHoldArn - This is the ARN (Amazon Resource Number) of the created legal hold.CreateLegalHoldResponse.Builder creationDate(Instant creationDate)
Time in number format when legal hold was created.
creationDate - Time in number format when legal hold was created.CreateLegalHoldResponse.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 CreateLegalHoldResponse.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)Copyright © 2023. All rights reserved.