@Stability(value=Stable)
public static interface CfnLifecyclePolicy.CrossRegionCopyActionProperty
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.*;
CrossRegionCopyActionProperty crossRegionCopyActionProperty = CrossRegionCopyActionProperty.builder()
.encryptionConfiguration(EncryptionConfigurationProperty.builder()
.encrypted(false)
// the properties below are optional
.cmkArn("cmkArn")
.build())
.target("target")
// the properties below are optional
.retainRule(CrossRegionCopyRetainRuleProperty.builder()
.interval(123)
.intervalUnit("intervalUnit")
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnLifecyclePolicy.CrossRegionCopyActionProperty.Builder
A builder for
CfnLifecyclePolicy.CrossRegionCopyActionProperty |
static class |
CfnLifecyclePolicy.CrossRegionCopyActionProperty.Jsii$Proxy
An implementation for
CfnLifecyclePolicy.CrossRegionCopyActionProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnLifecyclePolicy.CrossRegionCopyActionProperty.Builder |
builder() |
Object |
getEncryptionConfiguration()
The encryption settings for the copied snapshot.
|
default Object |
getRetainRule()
Specifies the retention rule for cross-Region snapshot copies.
|
String |
getTarget()
The target Region.
|
@Stability(value=Stable) @NotNull Object getEncryptionConfiguration()
@Stability(value=Stable) @NotNull String getTarget()
@Stability(value=Stable) @Nullable default Object getRetainRule()
@Stability(value=Stable) static CfnLifecyclePolicy.CrossRegionCopyActionProperty.Builder builder()
Copyright © 2022. All rights reserved.