Interface AdvancedBackupSetting.Builder

    • Method Detail

      • 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 only available for Windows VSS backup jobs.

        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.

        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 only available for Windows VSS backup jobs.

        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.

        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.