@Stability(value=Stable) @Internal public static final class CfnLifecyclePolicy.CreateRuleProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnLifecyclePolicy.CreateRuleProperty
CfnLifecyclePolicy.CreateRulePropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnLifecyclePolicy.CreateRuleProperty.Builder, CfnLifecyclePolicy.CreateRuleProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnLifecyclePolicy.CreateRuleProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnLifecyclePolicy.ActionProperty.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getCronExpression()
The schedule, as a Cron expression.
|
Number |
getInterval()
The interval between snapshots.
|
String |
getIntervalUnit()
The interval unit.
|
String |
getLocation()
Specifies the destination for snapshots created by the policy.
|
List<String> |
getTimes()
The time, in UTC, to start the operation.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnLifecyclePolicy.CreateRuleProperty.Builder builder)
CfnLifecyclePolicy.ActionProperty.Builder.public final String getCronExpression()
CfnLifecyclePolicy.CreateRulePropertyThe schedule interval must be between 1 hour and 1 year. For more information, see Cron expressions in the Amazon CloudWatch User Guide .
getCronExpression in interface CfnLifecyclePolicy.CreateRulePropertypublic final Number getInterval()
CfnLifecyclePolicy.CreateRulePropertyThe supported values are 1, 2, 3, 4, 6, 8, 12, and 24.
getInterval in interface CfnLifecyclePolicy.CreateRulePropertypublic final String getIntervalUnit()
CfnLifecyclePolicy.CreateRulePropertygetIntervalUnit in interface CfnLifecyclePolicy.CreateRulePropertypublic final String getLocation()
CfnLifecyclePolicy.CreateRuleProperty
To create snapshots in the same Region as the source resource, specify CLOUD . To create snapshots on the same Outpost as the source resource, specify OUTPOST_LOCAL . If you omit this parameter, CLOUD is used by default.
If the policy targets resources in an AWS Region , then you must create snapshots in the same Region as the source resource.
If the policy targets resources on an Outpost, then you can create snapshots on the same Outpost as the source resource, or in the Region of that Outpost.
getLocation in interface CfnLifecyclePolicy.CreateRulePropertypublic final List<String> getTimes()
CfnLifecyclePolicy.CreateRulePropertyThe operation occurs within a one-hour window following the specified time. If you do not specify a time, Amazon DLM selects a time within the next 24 hours.
getTimes in interface CfnLifecyclePolicy.CreateRuleProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.