@Stability(value=Stable)
public static interface CfnLifecyclePolicy.ScheduleProperty
extends software.amazon.jsii.JsiiSerializable
// 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.*;
ScheduleProperty scheduleProperty = ScheduleProperty.builder()
.copyTags(false)
.createRule(CreateRuleProperty.builder()
.cronExpression("cronExpression")
.interval(123)
.intervalUnit("intervalUnit")
.location("location")
.times(List.of("times"))
.build())
.crossRegionCopyRules(List.of(CrossRegionCopyRuleProperty.builder()
.encrypted(false)
// the properties below are optional
.cmkArn("cmkArn")
.copyTags(false)
.deprecateRule(CrossRegionCopyDeprecateRuleProperty.builder()
.interval(123)
.intervalUnit("intervalUnit")
.build())
.retainRule(CrossRegionCopyRetainRuleProperty.builder()
.interval(123)
.intervalUnit("intervalUnit")
.build())
.target("target")
.targetRegion("targetRegion")
.build()))
.deprecateRule(DeprecateRuleProperty.builder()
.count(123)
.interval(123)
.intervalUnit("intervalUnit")
.build())
.fastRestoreRule(FastRestoreRuleProperty.builder()
.availabilityZones(List.of("availabilityZones"))
.count(123)
.interval(123)
.intervalUnit("intervalUnit")
.build())
.name("name")
.retainRule(RetainRuleProperty.builder()
.count(123)
.interval(123)
.intervalUnit("intervalUnit")
.build())
.shareRules(List.of(ShareRuleProperty.builder()
.targetAccounts(List.of("targetAccounts"))
.unshareInterval(123)
.unshareIntervalUnit("unshareIntervalUnit")
.build()))
.tagsToAdd(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.variableTags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnLifecyclePolicy.ScheduleProperty.Builder
A builder for
CfnLifecyclePolicy.ScheduleProperty |
static class |
CfnLifecyclePolicy.ScheduleProperty.Jsii$Proxy
An implementation for
CfnLifecyclePolicy.ScheduleProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnLifecyclePolicy.ScheduleProperty.Builder |
builder() |
default Object |
getCopyTags()
`CfnLifecyclePolicy.ScheduleProperty.CopyTags`.
|
default Object |
getCreateRule()
`CfnLifecyclePolicy.ScheduleProperty.CreateRule`.
|
default Object |
getCrossRegionCopyRules()
`CfnLifecyclePolicy.ScheduleProperty.CrossRegionCopyRules`.
|
default Object |
getDeprecateRule()
`CfnLifecyclePolicy.ScheduleProperty.DeprecateRule`.
|
default Object |
getFastRestoreRule()
`CfnLifecyclePolicy.ScheduleProperty.FastRestoreRule`.
|
default String |
getName()
`CfnLifecyclePolicy.ScheduleProperty.Name`.
|
default Object |
getRetainRule()
`CfnLifecyclePolicy.ScheduleProperty.RetainRule`.
|
default Object |
getShareRules()
`CfnLifecyclePolicy.ScheduleProperty.ShareRules`.
|
default Object |
getTagsToAdd()
`CfnLifecyclePolicy.ScheduleProperty.TagsToAdd`.
|
default Object |
getVariableTags()
`CfnLifecyclePolicy.ScheduleProperty.VariableTags`.
|
@Stability(value=Stable) @Nullable default Object getCopyTags()
@Stability(value=Stable) @Nullable default Object getCreateRule()
@Stability(value=Stable) @Nullable default Object getCrossRegionCopyRules()
@Stability(value=Stable) @Nullable default Object getDeprecateRule()
@Stability(value=Stable) @Nullable default Object getFastRestoreRule()
@Stability(value=Stable) @Nullable default String getName()
@Stability(value=Stable) @Nullable default Object getRetainRule()
@Stability(value=Stable) @Nullable default Object getShareRules()
@Stability(value=Stable) @Nullable default Object getTagsToAdd()
@Stability(value=Stable) @Nullable default Object getVariableTags()
@Stability(value=Stable) static CfnLifecyclePolicy.ScheduleProperty.Builder builder()
Copyright © 2021. All rights reserved.