Class CfnGlobalTable.PointInTimeRecoverySpecificationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.dynamodb.CfnGlobalTable.PointInTimeRecoverySpecificationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGlobalTable.PointInTimeRecoverySpecificationProperty>
- Enclosing interface:
CfnGlobalTable.PointInTimeRecoverySpecificationProperty
@Stability(Stable)
public static final class CfnGlobalTable.PointInTimeRecoverySpecificationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGlobalTable.PointInTimeRecoverySpecificationProperty>
A builder for
CfnGlobalTable.PointInTimeRecoverySpecificationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.pointInTimeRecoveryEnabled(Boolean pointInTimeRecoveryEnabled) pointInTimeRecoveryEnabled(IResolvable pointInTimeRecoveryEnabled) recoveryPeriodInDays(Number recoveryPeriodInDays)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
pointInTimeRecoveryEnabled
@Stability(Stable) public CfnGlobalTable.PointInTimeRecoverySpecificationProperty.Builder pointInTimeRecoveryEnabled(Boolean pointInTimeRecoveryEnabled) Sets the value ofCfnGlobalTable.PointInTimeRecoverySpecificationProperty.getPointInTimeRecoveryEnabled()- Parameters:
pointInTimeRecoveryEnabled- Indicates whether point in time recovery is enabled (true) or disabled (false) on the table.- Returns:
this
-
pointInTimeRecoveryEnabled
@Stability(Stable) public CfnGlobalTable.PointInTimeRecoverySpecificationProperty.Builder pointInTimeRecoveryEnabled(IResolvable pointInTimeRecoveryEnabled) Sets the value ofCfnGlobalTable.PointInTimeRecoverySpecificationProperty.getPointInTimeRecoveryEnabled()- Parameters:
pointInTimeRecoveryEnabled- Indicates whether point in time recovery is enabled (true) or disabled (false) on the table.- Returns:
this
-
recoveryPeriodInDays
@Stability(Stable) public CfnGlobalTable.PointInTimeRecoverySpecificationProperty.Builder recoveryPeriodInDays(Number recoveryPeriodInDays) - Parameters:
recoveryPeriodInDays- The number of preceding days for which continuous backups are taken and maintained. Your table data is only recoverable to any point-in-time from within the configured recovery period. This parameter is optional. If no value is provided, the value will default to 35.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGlobalTable.PointInTimeRecoverySpecificationProperty>- Returns:
- a new instance of
CfnGlobalTable.PointInTimeRecoverySpecificationProperty - Throws:
NullPointerException- if any required attribute was not provided
-