Interface LegalHold.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LegalHold.Builder,
,LegalHold> SdkBuilder<LegalHold.Builder,
,LegalHold> SdkPojo
- Enclosing class:
LegalHold
public static interface LegalHold.Builder
extends SdkPojo, CopyableBuilder<LegalHold.Builder,LegalHold>
-
Method Summary
Modifier and TypeMethodDescriptioncancellationDate
(Instant cancellationDate) The time when the legal hold was cancelled.creationDate
(Instant creationDate) The time when the legal hold was created.description
(String description) The description of a legal hold.legalHoldArn
(String legalHoldArn) The Amazon Resource Name (ARN) of the legal hold; for example,arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.legalHoldId
(String legalHoldId) The ID of the legal hold.The status of the legal hold.status
(LegalHoldStatus status) The status of the legal hold.The title of a legal hold.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
title
The title of a legal hold.
- Parameters:
title
- The title of a legal hold.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the legal hold.
- Parameters:
status
- The status of the legal hold.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the legal hold.
- Parameters:
status
- The status of the legal hold.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
The description of a legal hold.
- Parameters:
description
- The description of a legal hold.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
legalHoldId
The ID of the legal hold.
- Parameters:
legalHoldId
- The ID of the legal hold.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
legalHoldArn
The Amazon Resource Name (ARN) of the legal hold; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.- Parameters:
legalHoldArn
- The Amazon Resource Name (ARN) of the legal hold; for example,arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationDate
The time when the legal hold was created.
- Parameters:
creationDate
- The time when the legal hold was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cancellationDate
The time when the legal hold was cancelled.
- Parameters:
cancellationDate
- The time when the legal hold was cancelled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-