Interface RestoreTestingSelectionForUpdate.Builder

    • Method Detail

      • iamRoleArn

        RestoreTestingSelectionForUpdate.Builder iamRoleArn​(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.

        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

        RestoreTestingSelectionForUpdate.Builder protectedResourceArns​(Collection<String> protectedResourceArns)

        You can include a list of specific ARNs, such as ProtectedResourceArns: ["arn:aws:...", "arn:aws:..."] or you can include a wildcard: ProtectedResourceArns: ["*"], but not both.

        Parameters:
        protectedResourceArns - You can include a list of specific ARNs, such as ProtectedResourceArns: ["arn:aws:...", "arn:aws:..."] or you can include a wildcard: ProtectedResourceArns: ["*"], but not both.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • protectedResourceArns

        RestoreTestingSelectionForUpdate.Builder protectedResourceArns​(String... protectedResourceArns)

        You can include a list of specific ARNs, such as ProtectedResourceArns: ["arn:aws:...", "arn:aws:..."] or you can include a wildcard: ProtectedResourceArns: ["*"], but not both.

        Parameters:
        protectedResourceArns - You can include a list of specific ARNs, such as ProtectedResourceArns: ["arn:aws:...", "arn:aws:..."] or you can include a wildcard: ProtectedResourceArns: ["*"], but not both.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • protectedResourceConditions

        RestoreTestingSelectionForUpdate.Builder protectedResourceConditions​(ProtectedResourceConditions protectedResourceConditions)

        A list of conditions that you define for resources in your restore testing plan using tags.

        For example, "StringEquals": { "Key": "aws:ResourceTag/CreatedByCryo", "Value": "true" },. Condition operators are case sensitive.

        Parameters:
        protectedResourceConditions - A list of conditions that you define for resources in your restore testing plan using tags.

        For example, "StringEquals": { "Key": "aws:ResourceTag/CreatedByCryo", "Value": "true" }, . Condition operators are case sensitive.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • restoreMetadataOverrides

        RestoreTestingSelectionForUpdate.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.
      • validationWindowHours

        RestoreTestingSelectionForUpdate.Builder validationWindowHours​(Integer validationWindowHours)

        This value represents the time, in hours, data is retained after a restore test so that optional validation can be completed.

        Accepted value is an integer between 0 and 168 (the hourly equivalent of seven days).

        Parameters:
        validationWindowHours - This value represents the time, in hours, data is retained after a restore test so that optional validation can be completed.

        Accepted value is an integer between 0 and 168 (the hourly equivalent of seven days).

        Returns:
        Returns a reference to this object so that method calls can be chained together.