public static final class CfnBackupSelectionProps.Builder
extends java.lang.Object
CfnBackupSelectionProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnBackupSelectionProps.Builder |
backupPlanId(java.lang.String backupPlanId)
Sets the value of
CfnBackupSelectionProps.getBackupPlanId() |
CfnBackupSelectionProps.Builder |
backupSelection(CfnBackupSelection.BackupSelectionResourceTypeProperty backupSelection)
Sets the value of
CfnBackupSelectionProps.getBackupSelection() |
CfnBackupSelectionProps.Builder |
backupSelection(IResolvable backupSelection)
Sets the value of
CfnBackupSelectionProps.getBackupSelection() |
CfnBackupSelectionProps |
build()
Builds the configured instance.
|
public CfnBackupSelectionProps.Builder backupPlanId(java.lang.String backupPlanId)
CfnBackupSelectionProps.getBackupPlanId()
backupPlanId
- Uniquely identifies a backup plan. This parameter is required.this
public CfnBackupSelectionProps.Builder backupSelection(IResolvable backupSelection)
CfnBackupSelectionProps.getBackupSelection()
backupSelection
- Specifies the body of a request to assign a set of resources to a backup plan. This parameter is required.
It includes an array of resources, an optional array of patterns to exclude resources, an optional role to provide access to the AWS service the resource belongs to, and an optional array of tags used to identify a set of resources.this
public CfnBackupSelectionProps.Builder backupSelection(CfnBackupSelection.BackupSelectionResourceTypeProperty backupSelection)
CfnBackupSelectionProps.getBackupSelection()
backupSelection
- Specifies the body of a request to assign a set of resources to a backup plan. This parameter is required.
It includes an array of resources, an optional array of patterns to exclude resources, an optional role to provide access to the AWS service the resource belongs to, and an optional array of tags used to identify a set of resources.this
public CfnBackupSelectionProps build()
CfnBackupSelectionProps
java.lang.NullPointerException
- if any required attribute was not provided