public static final class CfnBackupPlan.AdvancedBackupSettingResourceTypeProperty.Builder
extends java.lang.Object
CfnBackupPlan.AdvancedBackupSettingResourceTypeProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnBackupPlan.AdvancedBackupSettingResourceTypeProperty.Builder |
backupOptions(java.lang.Object backupOptions)
|
CfnBackupPlan.AdvancedBackupSettingResourceTypeProperty |
build()
Builds the configured instance.
|
CfnBackupPlan.AdvancedBackupSettingResourceTypeProperty.Builder |
resourceType(java.lang.String resourceType)
|
public CfnBackupPlan.AdvancedBackupSettingResourceTypeProperty.Builder backupOptions(java.lang.Object backupOptions)
backupOptions
- The backup option for the resource. This parameter is required.
Each option is a key-value pair.this
public CfnBackupPlan.AdvancedBackupSettingResourceTypeProperty.Builder resourceType(java.lang.String resourceType)
resourceType
- The name of a resource type. This parameter is required.
The only supported resource type is EC2.this
public CfnBackupPlan.AdvancedBackupSettingResourceTypeProperty build()
CfnBackupPlan.AdvancedBackupSettingResourceTypeProperty
java.lang.NullPointerException
- if any required attribute was not provided