Class BackupPlanRuleProps.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class BackupPlanRuleProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements BackupPlanRuleProps
An implementation for BackupPlanRuleProps
  • 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(BackupPlanRuleProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the BackupPlanRuleProps.Builder.
  • Method Details

    • getBackupVault

      public final IBackupVault getBackupVault()
      Description copied from interface: BackupPlanRuleProps
      The backup vault where backups are.

      Default: - use the vault defined at the plan level. If not defined a new common vault for the plan will be created

      Specified by:
      getBackupVault in interface BackupPlanRuleProps
    • getCompletionWindow

      public final Duration getCompletionWindow()
      Description copied from interface: BackupPlanRuleProps
      The duration after a backup job is successfully started before it must be completed or it is canceled by AWS Backup.

      Default: - 8 hours

      Specified by:
      getCompletionWindow in interface BackupPlanRuleProps
    • getDeleteAfter

      public final Duration getDeleteAfter()
      Description copied from interface: BackupPlanRuleProps
      Specifies the duration after creation that a recovery point is deleted.

      Must be greater than moveToColdStorageAfter.

      Default: - recovery point is never deleted

      Specified by:
      getDeleteAfter in interface BackupPlanRuleProps
    • getEnableContinuousBackup

      public final Boolean getEnableContinuousBackup()
      Description copied from interface: BackupPlanRuleProps
      Enables continuous backup and point-in-time restores (PITR).

      Property deleteAfter defines the retention period for the backup. It is mandatory if PITR is enabled. If no value is specified, the retention period is set to 35 days which is the maximum retention period supported by PITR.

      Property moveToColdStorageAfter must not be specified because PITR does not support this option.

      Default: false

      Specified by:
      getEnableContinuousBackup in interface BackupPlanRuleProps
    • getMoveToColdStorageAfter

      public final Duration getMoveToColdStorageAfter()
      Description copied from interface: BackupPlanRuleProps
      Specifies the duration after creation that a recovery point is moved to cold storage.

      Default: - recovery point is never moved to cold storage

      Specified by:
      getMoveToColdStorageAfter in interface BackupPlanRuleProps
    • getRuleName

      public final String getRuleName()
      Description copied from interface: BackupPlanRuleProps
      A display name for the backup rule.

      Default: - a CDK generated name

      Specified by:
      getRuleName in interface BackupPlanRuleProps
    • getScheduleExpression

      public final Schedule getScheduleExpression()
      Description copied from interface: BackupPlanRuleProps
      A CRON expression specifying when AWS Backup initiates a backup job.

      Default: - no schedule

      Specified by:
      getScheduleExpression in interface BackupPlanRuleProps
    • getStartWindow

      public final Duration getStartWindow()
      Description copied from interface: BackupPlanRuleProps
      The duration after a backup is scheduled before a job is canceled if it doesn't start successfully.

      Default: - 8 hours

      Specified by:
      getStartWindow in interface BackupPlanRuleProps
    • $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