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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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 available for Windows VSS backup jobs and S3 backups.
Valid values:
Set to
"WindowsVSS":"enabled"
to enable theWindowsVSS
backup option and create a Windows VSS backup.Set to
"WindowsVSS":"disabled"
to create a regular backup. TheWindowsVSS
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 theWindowsVSS
backup option and create a Windows VSS backup.Set to
"WindowsVSS":"disabled"
to create a regular backup. TheWindowsVSS
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.
-