Class CfnLegalHoldPropsMixin.RecoveryPointSelectionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.backup.CfnLegalHoldPropsMixin.RecoveryPointSelectionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLegalHoldPropsMixin.RecoveryPointSelectionProperty>
- Enclosing interface:
CfnLegalHoldPropsMixin.RecoveryPointSelectionProperty
@Stability(Stable)
public static final class CfnLegalHoldPropsMixin.RecoveryPointSelectionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLegalHoldPropsMixin.RecoveryPointSelectionProperty>
A builder for
CfnLegalHoldPropsMixin.RecoveryPointSelectionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnLegalHoldPropsMixin.RecoveryPointSelectionProperty.getDateRange()dateRange(IResolvable dateRange) Sets the value ofCfnLegalHoldPropsMixin.RecoveryPointSelectionProperty.getDateRange()resourceIdentifiers(List<String> resourceIdentifiers) vaultNames(List<String> vaultNames) Sets the value ofCfnLegalHoldPropsMixin.RecoveryPointSelectionProperty.getVaultNames()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dateRange
@Stability(Stable) public CfnLegalHoldPropsMixin.RecoveryPointSelectionProperty.Builder dateRange(IResolvable dateRange) Sets the value ofCfnLegalHoldPropsMixin.RecoveryPointSelectionProperty.getDateRange()- Parameters:
dateRange- A date range for filtering recovery points.- Returns:
this
-
dateRange
@Stability(Stable) public CfnLegalHoldPropsMixin.RecoveryPointSelectionProperty.Builder dateRange(CfnLegalHoldPropsMixin.DateRangeProperty dateRange) Sets the value ofCfnLegalHoldPropsMixin.RecoveryPointSelectionProperty.getDateRange()- Parameters:
dateRange- A date range for filtering recovery points.- Returns:
this
-
resourceIdentifiers
@Stability(Stable) public CfnLegalHoldPropsMixin.RecoveryPointSelectionProperty.Builder resourceIdentifiers(List<String> resourceIdentifiers) - Parameters:
resourceIdentifiers- The resources included in the resource selection.- Returns:
this
-
vaultNames
@Stability(Stable) public CfnLegalHoldPropsMixin.RecoveryPointSelectionProperty.Builder vaultNames(List<String> vaultNames) Sets the value ofCfnLegalHoldPropsMixin.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<CfnLegalHoldPropsMixin.RecoveryPointSelectionProperty>- Returns:
- a new instance of
CfnLegalHoldPropsMixin.RecoveryPointSelectionProperty - Throws:
NullPointerException- if any required attribute was not provided
-