Interface PointInTimeRecoverySpecification.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PointInTimeRecoverySpecification.Builder,
,PointInTimeRecoverySpecification> SdkBuilder<PointInTimeRecoverySpecification.Builder,
,PointInTimeRecoverySpecification> SdkPojo
- Enclosing class:
PointInTimeRecoverySpecification
@Mutable
@NotThreadSafe
public static interface PointInTimeRecoverySpecification.Builder
extends SdkPojo, CopyableBuilder<PointInTimeRecoverySpecification.Builder,PointInTimeRecoverySpecification>
-
Method Summary
Modifier and TypeMethodDescriptionpointInTimeRecoveryEnabled
(Boolean pointInTimeRecoveryEnabled) Indicates whether point in time recovery is enabled (true) or disabled (false) on the table.recoveryPeriodInDays
(Integer recoveryPeriodInDays) The number of preceding days for which continuous backups are taken and maintained.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, sdkFieldNameToField, sdkFields
-
Method Details
-
pointInTimeRecoveryEnabled
PointInTimeRecoverySpecification.Builder pointInTimeRecoveryEnabled(Boolean pointInTimeRecoveryEnabled) Indicates whether point in time recovery is enabled (true) or disabled (false) on the table.
- Parameters:
pointInTimeRecoveryEnabled
- Indicates whether point in time recovery is enabled (true) or disabled (false) on the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-