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.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.backup.LockConfiguration
LockConfiguration.Builder, LockConfiguration.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(LockConfiguration.Builder builder) Constructor that initializes the object based on literal property values passed by theLockConfiguration.Builder
.protected
Jsii$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.JsonNode
final boolean
final Duration
The duration before the lock date.final Duration
The maximum retention period that the vault retains its recovery points.final Duration
The minimum retention period that the vault retains its recovery points.final int
hashCode()
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:LockConfiguration
The 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:
getMinRetention
in interfaceLockConfiguration
-
getChangeableFor
Description copied from interface:LockConfiguration
The 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:
getChangeableFor
in interfaceLockConfiguration
-
getMaxRetention
Description copied from interface:LockConfiguration
The 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:
getMaxRetention
in interfaceLockConfiguration
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-