public static interface CfnLifecyclePolicy.FastRestoreRuleProperty
You can enable fast snapshot restore based on either a count or a time interval.
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.*; FastRestoreRuleProperty fastRestoreRuleProperty = FastRestoreRuleProperty.builder() .availabilityZones(List.of("availabilityZones")) .count(123) .interval(123) .intervalUnit("intervalUnit") .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnLifecyclePolicy.FastRestoreRuleProperty.Builder
A builder for
CfnLifecyclePolicy.FastRestoreRuleProperty |
static class |
CfnLifecyclePolicy.FastRestoreRuleProperty.Jsii$Proxy
An implementation for
CfnLifecyclePolicy.FastRestoreRuleProperty |
Modifier and Type | Method and Description |
---|---|
static CfnLifecyclePolicy.FastRestoreRuleProperty.Builder |
builder() |
default java.util.List<java.lang.String> |
getAvailabilityZones()
The Availability Zones in which to enable fast snapshot restore.
|
default java.lang.Number |
getCount()
The number of snapshots to be enabled with fast snapshot restore.
|
default java.lang.Number |
getInterval()
The amount of time to enable fast snapshot restore.
|
default java.lang.String |
getIntervalUnit()
The unit of time for enabling fast snapshot restore.
|
default java.util.List<java.lang.String> getAvailabilityZones()
default java.lang.Number getCount()
default java.lang.Number getInterval()
The maximum is 100 years. This is equivalent to 1200 months, 5200 weeks, or 36500 days.
default java.lang.String getIntervalUnit()
static CfnLifecyclePolicy.FastRestoreRuleProperty.Builder builder()