@Stability(value=Stable) @Internal public static final class LockConfiguration.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements LockConfiguration
LockConfigurationsoftware.amazon.jsii.JsiiObject.InitializationModeLockConfiguration.Builder, LockConfiguration.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(LockConfiguration.Builder builder)
Constructor that initializes the object based on literal property values passed by the
LockConfiguration.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Duration |
getChangeableFor()
The duration before the lock date.
|
Duration |
getMaxRetention()
The maximum retention period that the vault retains its recovery points.
|
Duration |
getMinRetention()
The minimum retention period that the vault retains its recovery points.
|
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(LockConfiguration.Builder builder)
LockConfiguration.Builder.public final Duration getMinRetention()
LockConfigurationIf this parameter is specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or longer than the minimum retention period. If the job's retention period is shorter than that minimum retention period, then the vault fails that backup or copy job, and you should either modify your lifecycle settings or use a different vault. Recovery points already saved in the vault prior to Vault Lock are not affected.
getMinRetention in interface LockConfigurationpublic final Duration getChangeableFor()
LockConfigurationAWS Backup enforces a 72-hour cooling-off period before Vault Lock takes effect and becomes immutable.
Before the lock date, you can delete Vault Lock from the vault or change the Vault Lock configuration. On and after the lock date, the Vault Lock becomes immutable and cannot be changed or deleted.
Default: - Vault Lock can be deleted or changed at any time
getChangeableFor in interface LockConfigurationpublic final Duration getMaxRetention()
LockConfigurationIf this parameter is specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or shorter than the maximum retention period. If the job's retention period is longer than that maximum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault. Recovery points already saved in the vault prior to Vault Lock are not affected.
Default: - Vault Lock does not enforce a maximum retention period
getMaxRetention in interface LockConfiguration@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.