Interface CfnReplicationConfigurationTemplate.PITPolicyRuleProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnReplicationConfigurationTemplate.PITPolicyRuleProperty.Jsii$Proxy
- Enclosing class:
CfnReplicationConfigurationTemplate
@Stability(Stable)
public static interface CfnReplicationConfigurationTemplate.PITPolicyRuleProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.drs.*;
PITPolicyRuleProperty pITPolicyRuleProperty = PITPolicyRuleProperty.builder()
.interval(123)
.retentionDuration(123)
.units("units")
// the properties below are optional
.enabled(false)
.ruleId(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnReplicationConfigurationTemplate.PITPolicyRuleProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectWhether this rule is enabled or not.How often, in the chosen units, a snapshot should be taken.The duration to retain a snapshot for, in the chosen units.default NumberThe ID of the rule.getUnits()The units used to measure the interval and retentionDuration.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getInterval
How often, in the chosen units, a snapshot should be taken.- See Also:
-
getRetentionDuration
The duration to retain a snapshot for, in the chosen units.- See Also:
-
getUnits
The units used to measure the interval and retentionDuration.- See Also:
-
getEnabled
Whether this rule is enabled or not.Returns union: either
BooleanorIResolvable- See Also:
-
getRuleId
The ID of the rule.- See Also:
-
builder
@Stability(Stable) static CfnReplicationConfigurationTemplate.PITPolicyRuleProperty.Builder builder()
-