public static interface BackupSelection.Builder extends SdkPojo, CopyableBuilder<BackupSelection.Builder,BackupSelection>
| Modifier and Type | Method and Description |
|---|---|
BackupSelection.Builder |
iamRoleArn(String iamRoleArn)
The ARN of the IAM role that AWS Backup uses to authenticate when backing up the target resource; for
example,
arn:aws:iam::123456789012:role/S3Access. |
BackupSelection.Builder |
listOfTags(Collection<Condition> listOfTags)
An array of conditions used to specify a set of resources to assign to a backup plan; for example,
"StringEquals": {"ec2:ResourceTag/Department": "accounting". |
BackupSelection.Builder |
listOfTags(Condition... listOfTags)
An array of conditions used to specify a set of resources to assign to a backup plan; for example,
"StringEquals": {"ec2:ResourceTag/Department": "accounting". |
BackupSelection.Builder |
listOfTags(Consumer<Condition.Builder>... listOfTags)
An array of conditions used to specify a set of resources to assign to a backup plan; for example,
"StringEquals": {"ec2:ResourceTag/Department": "accounting". |
BackupSelection.Builder |
resources(Collection<String> resources)
An array of strings that contain Amazon Resource Names (ARNs) of resources to assign to a backup plan.
|
BackupSelection.Builder |
resources(String... resources)
An array of strings that contain Amazon Resource Names (ARNs) of resources to assign to a backup plan.
|
BackupSelection.Builder |
selectionName(String selectionName)
The display name of a resource selection document.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildBackupSelection.Builder selectionName(String selectionName)
The display name of a resource selection document.
selectionName - The display name of a resource selection document.BackupSelection.Builder iamRoleArn(String iamRoleArn)
The ARN of the IAM role that AWS Backup uses to authenticate when backing up the target resource; for
example, arn:aws:iam::123456789012:role/S3Access.
iamRoleArn - The ARN of the IAM role that AWS Backup uses to authenticate when backing up the target resource; for
example, arn:aws:iam::123456789012:role/S3Access.BackupSelection.Builder resources(Collection<String> resources)
An array of strings that contain Amazon Resource Names (ARNs) of resources to assign to a backup plan.
resources - An array of strings that contain Amazon Resource Names (ARNs) of resources to assign to a backup plan.BackupSelection.Builder resources(String... resources)
An array of strings that contain Amazon Resource Names (ARNs) of resources to assign to a backup plan.
resources - An array of strings that contain Amazon Resource Names (ARNs) of resources to assign to a backup plan.BackupSelection.Builder listOfTags(Collection<Condition> listOfTags)
An array of conditions used to specify a set of resources to assign to a backup plan; for example,
"StringEquals": {"ec2:ResourceTag/Department": "accounting". Assigns the backup plan to every
resource with at least one matching tag.
listOfTags - An array of conditions used to specify a set of resources to assign to a backup plan; for example,
"StringEquals": {"ec2:ResourceTag/Department": "accounting". Assigns the backup plan to
every resource with at least one matching tag.BackupSelection.Builder listOfTags(Condition... listOfTags)
An array of conditions used to specify a set of resources to assign to a backup plan; for example,
"StringEquals": {"ec2:ResourceTag/Department": "accounting". Assigns the backup plan to every
resource with at least one matching tag.
listOfTags - An array of conditions used to specify a set of resources to assign to a backup plan; for example,
"StringEquals": {"ec2:ResourceTag/Department": "accounting". Assigns the backup plan to
every resource with at least one matching tag.BackupSelection.Builder listOfTags(Consumer<Condition.Builder>... listOfTags)
An array of conditions used to specify a set of resources to assign to a backup plan; for example,
"StringEquals": {"ec2:ResourceTag/Department": "accounting". Assigns the backup plan to every
resource with at least one matching tag.
List.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #listOfTags(List) .listOfTags - a consumer that will call methods on List.Builder #listOfTags(List) Copyright © 2021. All rights reserved.