@Stability(value=Stable)
public static interface CfnLifecyclePolicy.CrossRegionCopyRetainRuleProperty
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.dlm.*;
CrossRegionCopyRetainRuleProperty crossRegionCopyRetainRuleProperty = CrossRegionCopyRetainRuleProperty.builder()
.interval(123)
.intervalUnit("intervalUnit")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnLifecyclePolicy.CrossRegionCopyRetainRuleProperty.Builder
A builder for
CfnLifecyclePolicy.CrossRegionCopyRetainRuleProperty |
static class |
CfnLifecyclePolicy.CrossRegionCopyRetainRuleProperty.Jsii$Proxy
An implementation for
CfnLifecyclePolicy.CrossRegionCopyRetainRuleProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnLifecyclePolicy.CrossRegionCopyRetainRuleProperty.Builder |
builder() |
Number |
getInterval()
The amount of time to retain each snapshot.
|
String |
getIntervalUnit()
The unit of time for time-based retention.
|
@Stability(value=Stable) @NotNull Number getInterval()
The maximum is 100 years. This is equivalent to 1200 months, 5200 weeks, or 36500 days.
@Stability(value=Stable) @NotNull String getIntervalUnit()
@Stability(value=Stable) static CfnLifecyclePolicy.CrossRegionCopyRetainRuleProperty.Builder builder()
Copyright © 2022. All rights reserved.