Class LockConfiguration.Jsii$Proxy
- All Implemented Interfaces:
LockConfiguration,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
LockConfiguration
LockConfiguration-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.backup.LockConfiguration
LockConfiguration.Builder, LockConfiguration.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(LockConfiguration.Builder builder) Constructor that initializes the object based on literal property values passed by theLockConfiguration.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal DurationThe duration before the lock date.final DurationThe maximum retention period that the vault retains its recovery points.final DurationThe minimum retention period that the vault retains its recovery points.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theLockConfiguration.Builder.
-
-
Method Details
-
getMinRetention
Description copied from interface:LockConfigurationThe minimum retention period that the vault retains its recovery points.If 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.
- Specified by:
getMinRetentionin interfaceLockConfiguration
-
getChangeableFor
Description copied from interface:LockConfigurationThe duration before the lock date.AWS 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
- Specified by:
getChangeableForin interfaceLockConfiguration
-
getMaxRetention
Description copied from interface:LockConfigurationThe maximum retention period that the vault retains its recovery points.If 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
- Specified by:
getMaxRetentionin interfaceLockConfiguration
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-