@Stability(value=Stable) public static final class CfnBackupSelection.BackupSelectionResourceTypeProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnBackupSelection.BackupSelectionResourceTypeProperty>
CfnBackupSelection.BackupSelectionResourceTypeProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnBackupSelection.BackupSelectionResourceTypeProperty.Builder iamRoleArn(String iamRoleArn)
CfnBackupSelection.BackupSelectionResourceTypeProperty.getIamRoleArn()iamRoleArn - The ARN of the IAM role that AWS Backup uses to authenticate when backing up the target resource;. This parameter is required.
for example, arn:aws:iam::123456789012:role/S3Access .this@Stability(value=Stable) public CfnBackupSelection.BackupSelectionResourceTypeProperty.Builder selectionName(String selectionName)
selectionName - The display name of a resource selection document. This parameter is required.this@Stability(value=Stable) public CfnBackupSelection.BackupSelectionResourceTypeProperty.Builder conditions(Object conditions)
CfnBackupSelection.BackupSelectionResourceTypeProperty.getConditions()conditions - A list of conditions that you define to assign resources to your backup plans using tags.
For example, "StringEquals": {"Department": "accounting" . Condition operators are case sensitive.
Conditions differs from ListOfTags as follows:
Conditions supports StringEquals , StringLike , StringNotEquals , and StringNotLike . ListOfTags only supports StringEquals .this@Stability(value=Stable) public CfnBackupSelection.BackupSelectionResourceTypeProperty.Builder listOfTags(IResolvable listOfTags)
CfnBackupSelection.BackupSelectionResourceTypeProperty.getListOfTags()listOfTags - An array of conditions used to specify a set of resources to assign to a backup plan;.
for example, "STRINGEQUALS": {"Department":"accounting" .this@Stability(value=Stable) public CfnBackupSelection.BackupSelectionResourceTypeProperty.Builder listOfTags(List<? extends Object> listOfTags)
CfnBackupSelection.BackupSelectionResourceTypeProperty.getListOfTags()listOfTags - An array of conditions used to specify a set of resources to assign to a backup plan;.
for example, "STRINGEQUALS": {"Department":"accounting" .this@Stability(value=Stable) public CfnBackupSelection.BackupSelectionResourceTypeProperty.Builder notResources(List<String> notResources)
CfnBackupSelection.BackupSelectionResourceTypeProperty.getNotResources()notResources - A list of Amazon Resource Names (ARNs) to exclude from a backup plan.
The maximum number of ARNs is 500 without wildcards, or 30 ARNs with wildcards.
If you need to exclude many resources from a backup plan, consider a different resource selection strategy, such as assigning only one or a few resource types or refining your resource selection using tags.
this@Stability(value=Stable) public CfnBackupSelection.BackupSelectionResourceTypeProperty.Builder resources(List<String> resources)
CfnBackupSelection.BackupSelectionResourceTypeProperty.getResources()resources - An array of strings that contain Amazon Resource Names (ARNs) of resources to assign to a backup plan.this@Stability(value=Stable) public CfnBackupSelection.BackupSelectionResourceTypeProperty build()
build in interface software.amazon.jsii.Builder<CfnBackupSelection.BackupSelectionResourceTypeProperty>CfnBackupSelection.BackupSelectionResourceTypePropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.