Interface AdvancedBackupSetting.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AdvancedBackupSetting.Builder,,AdvancedBackupSetting> SdkBuilder<AdvancedBackupSetting.Builder,,AdvancedBackupSetting> SdkPojo
- Enclosing class:
AdvancedBackupSetting
-
Method Summary
Modifier and TypeMethodDescriptionbackupOptions(Map<String, String> backupOptions) Specifies the backup option for a selected resource.resourceType(String resourceType) Specifies an object containing resource type and backup options.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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 theWindowsVSSbackup option and create a Windows VSS backup.Set to
"WindowsVSS":"disabled"to create a regular backup. TheWindowsVSSoption is not enabled by default.If you specify an invalid option, you get an
InvalidParameterValueExceptionexception.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 theWindowsVSSbackup option and create a Windows VSS backup.Set to
"WindowsVSS":"disabled"to create a regular backup. TheWindowsVSSoption is not enabled by default.If you specify an invalid option, you get an
InvalidParameterValueExceptionexception.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.
-