Interface RestoreTestingSelectionForCreate.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<RestoreTestingSelectionForCreate.Builder,,- RestoreTestingSelectionForCreate> - SdkBuilder<RestoreTestingSelectionForCreate.Builder,,- RestoreTestingSelectionForCreate> - SdkPojo
- Enclosing class:
- RestoreTestingSelectionForCreate
- 
Method SummaryModifier and TypeMethodDescriptioniamRoleArn(String iamRoleArn) The Amazon Resource Name (ARN) of the IAM role that Backup uses to create the target resource; for example:arn:aws:iam::123456789012:role/S3Access.protectedResourceArns(String... protectedResourceArns) Each protected resource can be filtered by its specific ARNs, such asProtectedResourceArns: ["arn:aws:...", "arn:aws:..."]or by a wildcard:ProtectedResourceArns: ["*"], but not both.protectedResourceArns(Collection<String> protectedResourceArns) Each protected resource can be filtered by its specific ARNs, such asProtectedResourceArns: ["arn:aws:...", "arn:aws:..."]or by a wildcard:ProtectedResourceArns: ["*"], but not both.protectedResourceConditions(Consumer<ProtectedResourceConditions.Builder> protectedResourceConditions) If you have included the wildcard in ProtectedResourceArns, you can include resource conditions, such asProtectedResourceConditions: { StringEquals: [{ key: "XXXX", value: "YYYY" }].protectedResourceConditions(ProtectedResourceConditions protectedResourceConditions) If you have included the wildcard in ProtectedResourceArns, you can include resource conditions, such asProtectedResourceConditions: { StringEquals: [{ key: "XXXX", value: "YYYY" }].protectedResourceType(String protectedResourceType) The type of Amazon Web Services resource included in a restore testing selection; for example, an Amazon EBS volume or an Amazon RDS database.restoreMetadataOverrides(Map<String, String> restoreMetadataOverrides) You can override certain restore metadata keys by including the parameterRestoreMetadataOverridesin the body ofRestoreTestingSelection.restoreTestingSelectionName(String restoreTestingSelectionName) The unique name of the restore testing selection that belongs to the related restore testing plan.validationWindowHours(Integer validationWindowHours) This is amount of hours (0 to 168) available to run a validation script on the data.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
iamRoleArnThe Amazon Resource Name (ARN) of the IAM role that Backup uses to create the target resource; for example: arn:aws:iam::123456789012:role/S3Access.- Parameters:
- iamRoleArn- The Amazon Resource Name (ARN) of the IAM role that Backup uses to create the target resource; for example:- arn:aws:iam::123456789012:role/S3Access.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
protectedResourceArnsRestoreTestingSelectionForCreate.Builder protectedResourceArns(Collection<String> protectedResourceArns) Each protected resource can be filtered by its specific ARNs, such as ProtectedResourceArns: ["arn:aws:...", "arn:aws:..."]or by a wildcard:ProtectedResourceArns: ["*"], but not both.- Parameters:
- protectedResourceArns- Each protected resource can be filtered by its specific ARNs, such as- ProtectedResourceArns: ["arn:aws:...", "arn:aws:..."]or by a wildcard:- ProtectedResourceArns: ["*"], but not both.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
protectedResourceArnsEach protected resource can be filtered by its specific ARNs, such as ProtectedResourceArns: ["arn:aws:...", "arn:aws:..."]or by a wildcard:ProtectedResourceArns: ["*"], but not both.- Parameters:
- protectedResourceArns- Each protected resource can be filtered by its specific ARNs, such as- ProtectedResourceArns: ["arn:aws:...", "arn:aws:..."]or by a wildcard:- ProtectedResourceArns: ["*"], but not both.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
protectedResourceConditionsRestoreTestingSelectionForCreate.Builder protectedResourceConditions(ProtectedResourceConditions protectedResourceConditions) If you have included the wildcard in ProtectedResourceArns, you can include resource conditions, such as ProtectedResourceConditions: { StringEquals: [{ key: "XXXX", value: "YYYY" }].- Parameters:
- protectedResourceConditions- If you have included the wildcard in ProtectedResourceArns, you can include resource conditions, such as- ProtectedResourceConditions: { StringEquals: [{ key: "XXXX", value: "YYYY" }].
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
protectedResourceConditionsdefault RestoreTestingSelectionForCreate.Builder protectedResourceConditions(Consumer<ProtectedResourceConditions.Builder> protectedResourceConditions) If you have included the wildcard in ProtectedResourceArns, you can include resource conditions, such as This is a convenience method that creates an instance of theProtectedResourceConditions: { StringEquals: [{ key: "XXXX", value: "YYYY" }].ProtectedResourceConditions.Builderavoiding the need to create one manually viaProtectedResourceConditions.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprotectedResourceConditions(ProtectedResourceConditions).- Parameters:
- protectedResourceConditions- a consumer that will call methods on- ProtectedResourceConditions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
protectedResourceTypeThe type of Amazon Web Services resource included in a restore testing selection; for example, an Amazon EBS volume or an Amazon RDS database. Supported resource types accepted include: - 
 Aurorafor Amazon Aurora
- 
 DocumentDBfor Amazon DocumentDB (with MongoDB compatibility)
- 
 DynamoDBfor Amazon DynamoDB
- 
 EBSfor Amazon Elastic Block Store
- 
 EC2for Amazon Elastic Compute Cloud
- 
 EFSfor Amazon Elastic File System
- 
 FSxfor Amazon FSx
- 
 Neptunefor Amazon Neptune
- 
 RDSfor Amazon Relational Database Service
- 
 S3for Amazon S3
 - Parameters:
- protectedResourceType- The type of Amazon Web Services resource included in a restore testing selection; for example, an Amazon EBS volume or an Amazon RDS database.- Supported resource types accepted include: - 
        Aurorafor Amazon Aurora
- 
        DocumentDBfor Amazon DocumentDB (with MongoDB compatibility)
- 
        DynamoDBfor Amazon DynamoDB
- 
        EBSfor Amazon Elastic Block Store
- 
        EC2for Amazon Elastic Compute Cloud
- 
        EFSfor Amazon Elastic File System
- 
        FSxfor Amazon FSx
- 
        Neptunefor Amazon Neptune
- 
        RDSfor Amazon Relational Database Service
- 
        S3for Amazon S3
 
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
 
- 
restoreMetadataOverridesRestoreTestingSelectionForCreate.Builder restoreMetadataOverrides(Map<String, String> restoreMetadataOverrides) You can override certain restore metadata keys by including the parameter RestoreMetadataOverridesin the body ofRestoreTestingSelection. Key values are not case sensitive.See the complete list of restore testing inferred metadata. - Parameters:
- restoreMetadataOverrides- You can override certain restore metadata keys by including the parameter- RestoreMetadataOverridesin the body of- RestoreTestingSelection. Key values are not case sensitive.- See the complete list of restore testing inferred metadata. 
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
restoreTestingSelectionNameRestoreTestingSelectionForCreate.Builder restoreTestingSelectionName(String restoreTestingSelectionName) The unique name of the restore testing selection that belongs to the related restore testing plan. - Parameters:
- restoreTestingSelectionName- The unique name of the restore testing selection that belongs to the related restore testing plan.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
validationWindowHoursThis is amount of hours (0 to 168) available to run a validation script on the data. The data will be deleted upon the completion of the validation script or the end of the specified retention period, whichever comes first. - Parameters:
- validationWindowHours- This is amount of hours (0 to 168) available to run a validation script on the data. The data will be deleted upon the completion of the validation script or the end of the specified retention period, whichever comes first.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-