@Stability(value=Stable)
public static interface CfnLifecyclePolicy.FastRestoreRuleProperty
extends software.amazon.jsii.JsiiSerializable
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 List<String> |
getAvailabilityZones()
The Availability Zones in which to enable fast snapshot restore.
|
default Number |
getCount()
The number of snapshots to be enabled with fast snapshot restore.
|
default Number |
getInterval()
The amount of time to enable fast snapshot restore.
|
default String |
getIntervalUnit()
The unit of time for enabling fast snapshot restore.
|
@Stability(value=Stable) @Nullable default List<String> getAvailabilityZones()
@Stability(value=Stable) @Nullable default Number getCount()
@Stability(value=Stable) @Nullable default Number getInterval()
The maximum is 100 years. This is equivalent to 1200 months, 5200 weeks, or 36500 days.
@Stability(value=Stable) @Nullable default String getIntervalUnit()
@Stability(value=Stable) static CfnLifecyclePolicy.FastRestoreRuleProperty.Builder builder()
Copyright © 2022. All rights reserved.