Interface CfnLifecyclePolicy.ArchiveRuleProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLifecyclePolicy.ArchiveRuleProperty.Jsii$Proxy
- Enclosing class:
CfnLifecyclePolicy
@Stability(Stable)
public static interface CfnLifecyclePolicy.ArchiveRuleProperty
extends software.amazon.jsii.JsiiSerializable
[Custom snapshot policies only] Specifies a snapshot archiving rule for a schedule.
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.dlm.*;
ArchiveRuleProperty archiveRuleProperty = ArchiveRuleProperty.builder()
.retainRule(ArchiveRetainRuleProperty.builder()
.retentionArchiveTier(RetentionArchiveTierProperty.builder()
.count(123)
.interval(123)
.intervalUnit("intervalUnit")
.build())
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnLifecyclePolicy.ArchiveRulePropertystatic final classAn implementation forCfnLifecyclePolicy.ArchiveRuleProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Information about the retention period for the snapshot archiving rule.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getRetainRule
Information about the retention period for the snapshot archiving rule.Returns union: either
IResolvableorCfnLifecyclePolicy.ArchiveRetainRuleProperty- See Also:
-
builder
-