Class BackupSelectionOptions.Jsii$Proxy

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

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

    • getResources

      public final List<BackupResource> getResources()
      Description copied from interface: BackupSelectionOptions
      The resources to backup.

      Use the helper static methods defined on BackupResource.

      Specified by:
      getResources in interface BackupSelectionOptions
    • getAllowRestores

      public final Boolean getAllowRestores()
      Description copied from interface: BackupSelectionOptions
      Whether to automatically give restores permissions to the role that AWS Backup uses.

      If true, the AWSBackupServiceRolePolicyForRestores managed policy will be attached to the role.

      Default: false

      Specified by:
      getAllowRestores in interface BackupSelectionOptions
    • getBackupSelectionName

      public final String getBackupSelectionName()
      Description copied from interface: BackupSelectionOptions
      The name for this selection.

      Default: - a CDK generated name

      Specified by:
      getBackupSelectionName in interface BackupSelectionOptions
    • getRole

      public final IRole getRole()
      Description copied from interface: BackupSelectionOptions
      The role that AWS Backup uses to authenticate when backuping or restoring the resources.

      The AWSBackupServiceRolePolicyForBackup managed policy will be attached to this role.

      Default: - a new role will be created

      Specified by:
      getRole in interface BackupSelectionOptions
    • $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