public static interface GetLegalHoldResponse.Builder extends BackupResponse.Builder, SdkPojo, CopyableBuilder<GetLegalHoldResponse.Builder,GetLegalHoldResponse>
| Modifier and Type | Method and Description |
|---|---|
GetLegalHoldResponse.Builder |
cancelDescription(String cancelDescription)
String describing the reason for removing the legal hold.
|
GetLegalHoldResponse.Builder |
cancellationDate(Instant cancellationDate)
Time in number when legal hold was cancelled.
|
GetLegalHoldResponse.Builder |
creationDate(Instant creationDate)
Time in number format when legal hold was created.
|
GetLegalHoldResponse.Builder |
description(String description)
This is the returned string description of the legal hold.
|
GetLegalHoldResponse.Builder |
legalHoldArn(String legalHoldArn)
This is the returned framework ARN for the specified legal hold.
|
GetLegalHoldResponse.Builder |
legalHoldId(String legalHoldId)
This is the returned ID associated with a specified legal hold.
|
default GetLegalHoldResponse.Builder |
recoveryPointSelection(Consumer<RecoveryPointSelection.Builder> recoveryPointSelection)
This specifies criteria to assign a set of resources, such as resource types or backup vaults.
|
GetLegalHoldResponse.Builder |
recoveryPointSelection(RecoveryPointSelection recoveryPointSelection)
This specifies criteria to assign a set of resources, such as resource types or backup vaults.
|
GetLegalHoldResponse.Builder |
retainRecordUntil(Instant retainRecordUntil)
This is the date and time until which the legal hold record will be retained.
|
GetLegalHoldResponse.Builder |
status(LegalHoldStatus status)
This is the status of the legal hold.
|
GetLegalHoldResponse.Builder |
status(String status)
This is the status of the legal hold.
|
GetLegalHoldResponse.Builder |
title(String title)
This is the string title of the legal hold.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetLegalHoldResponse.Builder title(String title)
This is the string title of the legal hold.
title - This is the string title of the legal hold.GetLegalHoldResponse.Builder status(String status)
This is the status of the legal hold. Statuses can be ACTIVE, CREATING,
CANCELED, and CANCELING.
status - This is the status of the legal hold. Statuses can be ACTIVE, CREATING,
CANCELED, and CANCELING.LegalHoldStatus,
LegalHoldStatusGetLegalHoldResponse.Builder status(LegalHoldStatus status)
This is the status of the legal hold. Statuses can be ACTIVE, CREATING,
CANCELED, and CANCELING.
status - This is the status of the legal hold. Statuses can be ACTIVE, CREATING,
CANCELED, and CANCELING.LegalHoldStatus,
LegalHoldStatusGetLegalHoldResponse.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.GetLegalHoldResponse.Builder cancelDescription(String cancelDescription)
String describing the reason for removing the legal hold.
cancelDescription - String describing the reason for removing the legal hold.GetLegalHoldResponse.Builder legalHoldId(String legalHoldId)
This is the returned ID associated with a specified legal hold.
legalHoldId - This is the returned ID associated with a specified legal hold.GetLegalHoldResponse.Builder legalHoldArn(String legalHoldArn)
This is the returned framework ARN for the specified legal hold. An Amazon Resource Name (ARN) uniquely identifies a resource. The format of the ARN depends on the resource type.
legalHoldArn - This is the returned framework ARN for the specified legal hold. An Amazon Resource Name (ARN)
uniquely identifies a resource. The format of the ARN depends on the resource type.GetLegalHoldResponse.Builder creationDate(Instant creationDate)
Time in number format when legal hold was created.
creationDate - Time in number format when legal hold was created.GetLegalHoldResponse.Builder cancellationDate(Instant cancellationDate)
Time in number when legal hold was cancelled.
cancellationDate - Time in number when legal hold was cancelled.GetLegalHoldResponse.Builder retainRecordUntil(Instant retainRecordUntil)
This is the date and time until which the legal hold record will be retained.
retainRecordUntil - This is the date and time until which the legal hold record will be retained.GetLegalHoldResponse.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 GetLegalHoldResponse.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.