RestoreTestingSelectionForCreate.Builder (AWS SDK for Java

RestoreTestingSelectionForCreate.Builder (AWS SDK for Java - 2.25.21)
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 RestoreMetadataOverrides in the body of RestoreTestingSelection.

    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 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.
    • 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.
    • 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.
    • 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:
    • 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:

      • Aurora for Amazon Aurora

      • DocumentDB for Amazon DocumentDB (with MongoDB compatibility)

      • DynamoDB for Amazon DynamoDB

      • EBS for Amazon Elastic Block Store

      • EC2 for Amazon Elastic Compute Cloud

      • EFS for Amazon Elastic File System

      • FSx for Amazon FSx

      • Neptune for Amazon Neptune

      • RDS for Amazon Relational Database Service

      • S3 for 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:

      • Aurora for Amazon Aurora

      • DocumentDB for Amazon DocumentDB (with MongoDB compatibility)

      • DynamoDB for Amazon DynamoDB

      • EBS for Amazon Elastic Block Store

      • EC2 for Amazon Elastic Compute Cloud

      • EFS for Amazon Elastic File System

      • FSx for Amazon FSx

      • Neptune for Amazon Neptune

      • RDS for Amazon Relational Database Service

      • S3 for 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 RestoreMetadataOverrides in the body of RestoreTestingSelection. 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 RestoreMetadataOverrides in 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.
    • 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.

You Might Also Like