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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LegalHold.BuildercancellationDate(Instant cancellationDate)This is the time in number format when legal hold was cancelled.LegalHold.BuildercreationDate(Instant creationDate)This is the time in number format when legal hold was created.LegalHold.Builderdescription(String description)This is the description of a legal hold.LegalHold.BuilderlegalHoldArn(String legalHoldArn)This is an Amazon Resource Number (ARN) that uniquely identifies the legal hold; for example,arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.LegalHold.BuilderlegalHoldId(String legalHoldId)ID of specific legal hold on one or more recovery points.LegalHold.Builderstatus(String status)This is the status of the legal hold.LegalHold.Builderstatus(LegalHoldStatus status)This is the status of the legal hold.LegalHold.Buildertitle(String title)This is 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 Detail
-
title
LegalHold.Builder title(String title)
This is the title of a legal hold.
- Parameters:
title- This is the title of a legal hold.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
LegalHold.Builder status(String status)
This is the status of the legal hold. Statuses can be
ACTIVE,CREATING,CANCELED, andCANCELING.- Parameters:
status- This is the status of the legal hold. Statuses can beACTIVE,CREATING,CANCELED, andCANCELING.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LegalHoldStatus,LegalHoldStatus
-
status
LegalHold.Builder status(LegalHoldStatus status)
This is the status of the legal hold. Statuses can be
ACTIVE,CREATING,CANCELED, andCANCELING.- Parameters:
status- This is the status of the legal hold. Statuses can beACTIVE,CREATING,CANCELED, andCANCELING.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LegalHoldStatus,LegalHoldStatus
-
description
LegalHold.Builder description(String description)
This is the description of a legal hold.
- Parameters:
description- This is the description of a legal hold.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
legalHoldId
LegalHold.Builder legalHoldId(String legalHoldId)
ID of specific legal hold on one or more recovery points.
- Parameters:
legalHoldId- ID of specific legal hold on one or more recovery points.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
legalHoldArn
LegalHold.Builder legalHoldArn(String legalHoldArn)
This is an Amazon Resource Number (ARN) that uniquely identifies the legal hold; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.- Parameters:
legalHoldArn- This is an Amazon Resource Number (ARN) that uniquely identifies 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
LegalHold.Builder creationDate(Instant creationDate)
This is the time in number format when legal hold was created.
- Parameters:
creationDate- This is the time in number format when legal hold was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cancellationDate
LegalHold.Builder cancellationDate(Instant cancellationDate)
This is the time in number format when legal hold was cancelled.
- Parameters:
cancellationDate- This is the time in number format when legal hold was cancelled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-