Class CfnLegalHold.RecoveryPointSelectionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.backup.CfnLegalHold.RecoveryPointSelectionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLegalHold.RecoveryPointSelectionProperty>
- Enclosing interface:
CfnLegalHold.RecoveryPointSelectionProperty
@Stability(Stable)
public static final class CfnLegalHold.RecoveryPointSelectionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLegalHold.RecoveryPointSelectionProperty>
A builder for
CfnLegalHold.RecoveryPointSelectionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dateRange(IResolvable dateRange) Sets the value ofCfnLegalHold.RecoveryPointSelectionProperty.getDateRange()dateRange(CfnLegalHold.DateRangeProperty dateRange) Sets the value ofCfnLegalHold.RecoveryPointSelectionProperty.getDateRange()resourceIdentifiers(List<String> resourceIdentifiers) Sets the value ofCfnLegalHold.RecoveryPointSelectionProperty.getResourceIdentifiers()vaultNames(List<String> vaultNames) Sets the value ofCfnLegalHold.RecoveryPointSelectionProperty.getVaultNames()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dateRange
@Stability(Stable) public CfnLegalHold.RecoveryPointSelectionProperty.Builder dateRange(IResolvable dateRange) Sets the value ofCfnLegalHold.RecoveryPointSelectionProperty.getDateRange()- Parameters:
dateRange- A date range for filtering recovery points.- Returns:
this
-
dateRange
@Stability(Stable) public CfnLegalHold.RecoveryPointSelectionProperty.Builder dateRange(CfnLegalHold.DateRangeProperty dateRange) Sets the value ofCfnLegalHold.RecoveryPointSelectionProperty.getDateRange()- Parameters:
dateRange- A date range for filtering recovery points.- Returns:
this
-
resourceIdentifiers
@Stability(Stable) public CfnLegalHold.RecoveryPointSelectionProperty.Builder resourceIdentifiers(List<String> resourceIdentifiers) Sets the value ofCfnLegalHold.RecoveryPointSelectionProperty.getResourceIdentifiers()- Parameters:
resourceIdentifiers- The resources included in the resource selection.- Returns:
this
-
vaultNames
@Stability(Stable) public CfnLegalHold.RecoveryPointSelectionProperty.Builder vaultNames(List<String> vaultNames) Sets the value ofCfnLegalHold.RecoveryPointSelectionProperty.getVaultNames()- Parameters:
vaultNames- The names of the vaults in which the selected recovery points are contained.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLegalHold.RecoveryPointSelectionProperty>- Returns:
- a new instance of
CfnLegalHold.RecoveryPointSelectionProperty - Throws:
NullPointerException- if any required attribute was not provided
-