Interface AdvancedBackupSetting.Builder

  • Method Details

    • resourceType

      AdvancedBackupSetting.Builder resourceType(String resourceType)

      Specifies an object containing resource type and backup options. The only supported resource type is Amazon EC2 instances with Windows Volume Shadow Copy Service (VSS). For a CloudFormation example, see the sample CloudFormation template to enable Windows VSS in the Backup User Guide.

      Valid values: EC2.

      Parameters:
      resourceType - Specifies an object containing resource type and backup options. The only supported resource type is Amazon EC2 instances with Windows Volume Shadow Copy Service (VSS). For a CloudFormation example, see the sample CloudFormation template to enable Windows VSS in the Backup User Guide.

      Valid values: EC2.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • backupOptions

      AdvancedBackupSetting.Builder backupOptions(Map<String,String> backupOptions)

      Specifies the backup option for a selected resource. This option is available for Windows VSS backup jobs and S3 backups.

      Valid values:

      Set to "WindowsVSS":"enabled" to enable the WindowsVSS backup option and create a Windows VSS backup.

      Set to "WindowsVSS":"disabled" to create a regular backup. The WindowsVSS option is not enabled by default.

      For S3 backups, set to "S3BackupACLs":"disabled" to exclude ACLs from the backup, or "S3BackupObjectTags":"disabled" to exclude object tags from the backup. By default, both ACLs and object tags are included in S3 backups.

      If you specify an invalid option, you get an InvalidParameterValueException exception.

      For more information about Windows VSS backups, see Creating a VSS-Enabled Windows Backup.

      Parameters:
      backupOptions - Specifies the backup option for a selected resource. This option is available for Windows VSS backup jobs and S3 backups.

      Valid values:

      Set to "WindowsVSS":"enabled" to enable the WindowsVSS backup option and create a Windows VSS backup.

      Set to "WindowsVSS":"disabled" to create a regular backup. The WindowsVSS option is not enabled by default.

      For S3 backups, set to "S3BackupACLs":"disabled" to exclude ACLs from the backup, or "S3BackupObjectTags":"disabled" to exclude object tags from the backup. By default, both ACLs and object tags are included in S3 backups.

      If you specify an invalid option, you get an InvalidParameterValueException exception.

      For more information about Windows VSS backups, see Creating a VSS-Enabled Windows Backup.

      Returns:
      Returns a reference to this object so that method calls can be chained together.