Class LockConfiguration.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.backup.LockConfiguration.Jsii$Proxy
All Implemented Interfaces:
LockConfiguration, software.amazon.jsii.JsiiSerializable
Enclosing interface:
LockConfiguration

@Stability(Stable) @Internal public static final class LockConfiguration.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements LockConfiguration
An implementation for 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

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the LockConfiguration.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 Type
    Method
    Description
    com.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
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • 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

      protected Jsii$Proxy(LockConfiguration.Builder builder)
      Constructor that initializes the object based on literal property values passed by the LockConfiguration.Builder.
  • Method Details

    • getMinRetention

      public final Duration 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 interface LockConfiguration
    • getChangeableFor

      public final Duration 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 interface LockConfiguration
    • getMaxRetention

      public final Duration 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 interface LockConfiguration
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object