Interface RestoreTestingSelectionForGet.Builder

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

public static interface RestoreTestingSelectionForGet.Builder extends SdkPojo, CopyableBuilder<RestoreTestingSelectionForGet.Builder,RestoreTestingSelectionForGet>
  • Method Details

    • creationTime

      RestoreTestingSelectionForGet.Builder creationTime(Instant creationTime)

      The date and time that a restore testing selection was created, in Unix format and Coordinated Universal Time (UTC). The value of CreationTime is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 201812:11:30.087 AM.

      Parameters:
      creationTime - The date and time that a restore testing selection was created, in Unix format and Coordinated Universal Time (UTC). The value of CreationTime is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 201812:11:30.087 AM.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • creatorRequestId

      RestoreTestingSelectionForGet.Builder creatorRequestId(String creatorRequestId)

      This identifies the request and allows failed requests to be retried without the risk of running the operation twice. If the request includes a CreatorRequestId that matches an existing backup plan, that plan is returned. This parameter is optional.

      If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.

      Parameters:
      creatorRequestId - This identifies the request and allows failed requests to be retried without the risk of running the operation twice. If the request includes a CreatorRequestId that matches an existing backup plan, that plan is returned. This parameter is optional.

      If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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

      RestoreTestingSelectionForGet.Builder protectedResourceArns(Collection<String> protectedResourceArns)

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

      Parameters:
      protectedResourceArns - You can include 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

      RestoreTestingSelectionForGet.Builder protectedResourceArns(String... protectedResourceArns)

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

      Parameters:
      protectedResourceArns - You can include 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

      RestoreTestingSelectionForGet.Builder protectedResourceConditions(ProtectedResourceConditions protectedResourceConditions)

      In a resource testing selection, this parameter filters by specific conditions such as StringEquals or StringNotEquals.

      Parameters:
      protectedResourceConditions - In a resource testing selection, this parameter filters by specific conditions such as StringEquals or StringNotEquals.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • protectedResourceConditions

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

      In a resource testing selection, this parameter filters by specific conditions such as StringEquals or StringNotEquals.

      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

      RestoreTestingSelectionForGet.Builder protectedResourceType(String protectedResourceType)

      The type of Amazon Web Services resource included in a resource testing selection; for example, an Amazon EBS volume or an Amazon RDS database.

      Parameters:
      protectedResourceType - The type of Amazon Web Services resource included in a resource testing selection; for example, an Amazon EBS volume or an Amazon RDS database.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • restoreMetadataOverrides

      RestoreTestingSelectionForGet.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.
    • restoreTestingPlanName

      RestoreTestingSelectionForGet.Builder restoreTestingPlanName(String restoreTestingPlanName)

      The RestoreTestingPlanName is a unique string that is the name of the restore testing plan.

      Parameters:
      restoreTestingPlanName - The RestoreTestingPlanName is a unique string that is the name of the restore testing plan.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • restoreTestingSelectionName

      RestoreTestingSelectionForGet.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

      RestoreTestingSelectionForGet.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.