Interface RestoreTestingSelectionForCreate.Builder

All Superinterfaces:
Buildable, CopyableBuilder<RestoreTestingSelectionForCreate.Builder,RestoreTestingSelectionForCreate>, SdkBuilder<RestoreTestingSelectionForCreate.Builder,RestoreTestingSelectionForCreate>, SdkPojo
Enclosing class:
RestoreTestingSelectionForCreate

public static interface RestoreTestingSelectionForCreate.Builder extends SdkPojo, CopyableBuilder<RestoreTestingSelectionForCreate.Builder,RestoreTestingSelectionForCreate>
  • 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

      RestoreTestingSelectionForCreate.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.
    • protectedResourceArns

      RestoreTestingSelectionForCreate.Builder protectedResourceArns(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.
    • protectedResourceConditions

      RestoreTestingSelectionForCreate.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.
    • protectedResourceConditions

      default RestoreTestingSelectionForCreate.Builder protectedResourceConditions(Consumer<ProtectedResourceConditions.Builder> protectedResourceConditions)

      If you have included the wildcard in ProtectedResourceArns, you can include resource conditions, such as ProtectedResourceConditions: { StringEquals: [{ key: "XXXX", value: "YYYY" }].

      This is a convenience method that creates an instance of the ProtectedResourceConditions.Builder avoiding the need to create one manually via ProtectedResourceConditions.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to protectedResourceConditions(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

      RestoreTestingSelectionForCreate.Builder 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.

      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

      RestoreTestingSelectionForCreate.Builder restoreMetadataOverrides(Map<String,String> 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

      RestoreTestingSelectionForCreate.Builder restoreTestingSelectionName(String 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

      RestoreTestingSelectionForCreate.Builder validationWindowHours(Integer 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.