- All Superinterfaces:
Buildable,CopyableBuilder<RestoreTestingSelectionForCreate.Builder,,RestoreTestingSelectionForCreate> SdkBuilder<RestoreTestingSelectionForCreate.Builder,,RestoreTestingSelectionForCreate> SdkPojo
- Enclosing class:
RestoreTestingSelectionForCreate
Method Summary
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.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.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.If you have included the wildcard in ProtectedResourceArns, you can include resource conditions, such as
ProtectedResourceConditions: { StringEquals: [{ key: "XXXX", value: "YYYY" }].If you have included the wildcard in ProtectedResourceArns, you can include resource conditions, such as
ProtectedResourceConditions: { StringEquals: [{ key: "XXXX", value: "YYYY" }].The type of Amazon Web Services resource included in a restore testing selection; for example, an Amazon EBS volume or an Amazon RDS database.
You can override certain restore metadata keys by including the parameter
RestoreMetadataOverridesin the body ofRestoreTestingSelection.This is the unique name of the restore testing selection that belongs to the related restore testing plan.
This is amount of hours (1 to 168) available to run a validation script on the data.
Method Details
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.- 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.
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 asProtectedResourceArns: ["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.
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 asProtectedResourceArns: ["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.
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 asProtectedResourceConditions: { StringEquals: [{ key: "XXXX", value: "YYYY" }].- Returns:
- Returns a reference to this object so that method calls can be chained together.
protectedResourceConditions
- Parameters:
protectedResourceConditions- a consumer that will call methods onProtectedResourceConditions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
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
- 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.
-
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 parameterRestoreMetadataOverridesin the body ofRestoreTestingSelection. 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.
restoreTestingSelectionName
This is the unique name of the restore testing selection that belongs to the related restore testing plan.
- Parameters:
restoreTestingSelectionName- This is 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.
validationWindowHours
This is amount of hours (1 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 (1 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.