Class CfnBackupPlan.AdvancedBackupSettingResourceTypeProperty.Builder
java.lang.Object
software.amazon.awscdk.services.backup.CfnBackupPlan.AdvancedBackupSettingResourceTypeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBackupPlan.AdvancedBackupSettingResourceTypeProperty>
- Enclosing interface:
CfnBackupPlan.AdvancedBackupSettingResourceTypeProperty
@Stability(Stable)
public static final class CfnBackupPlan.AdvancedBackupSettingResourceTypeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBackupPlan.AdvancedBackupSettingResourceTypeProperty>
A builder for
CfnBackupPlan.AdvancedBackupSettingResourceTypeProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbackupOptions
(Object backupOptions) build()
Builds the configured instance.resourceType
(String resourceType)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
backupOptions
@Stability(Stable) public CfnBackupPlan.AdvancedBackupSettingResourceTypeProperty.Builder backupOptions(Object backupOptions) - Parameters:
backupOptions
- The backup option for the resource. This parameter is required. Each option is a key-value pair. This option is only available for Windows VSS backup jobs.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.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:
this
-
resourceType
@Stability(Stable) public CfnBackupPlan.AdvancedBackupSettingResourceTypeProperty.Builder resourceType(String resourceType) - Parameters:
resourceType
- The name of a resource type. This parameter is required. The only supported resource type is EC2.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnBackupPlan.AdvancedBackupSettingResourceTypeProperty>
- Returns:
- a new instance of
CfnBackupPlan.AdvancedBackupSettingResourceTypeProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-