Interface CreateRestoreTestingSelectionRequest.Builder

All Superinterfaces:
AwsRequest.Builder, BackupRequest.Builder, Buildable, CopyableBuilder<CreateRestoreTestingSelectionRequest.Builder,CreateRestoreTestingSelectionRequest>, SdkBuilder<CreateRestoreTestingSelectionRequest.Builder,CreateRestoreTestingSelectionRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
CreateRestoreTestingSelectionRequest

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

    • creatorRequestId

      CreateRestoreTestingSelectionRequest.Builder creatorRequestId(String creatorRequestId)

      This is an optional unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice. If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.

      Parameters:
      creatorRequestId - This is an optional unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice. 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.
    • restoreTestingPlanName

      CreateRestoreTestingSelectionRequest.Builder restoreTestingPlanName(String restoreTestingPlanName)

      Input the restore testing plan name that was returned from the related CreateRestoreTestingPlan request.

      Parameters:
      restoreTestingPlanName - Input the restore testing plan name that was returned from the related CreateRestoreTestingPlan request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • restoreTestingSelection

      CreateRestoreTestingSelectionRequest.Builder restoreTestingSelection(RestoreTestingSelectionForCreate restoreTestingSelection)

      This consists of RestoreTestingSelectionName, ProtectedResourceType, and one of the following:

      • ProtectedResourceArns

      • ProtectedResourceConditions

      Each protected resource type can have one single value.

      A restore testing selection can include a wildcard value ("*") for ProtectedResourceArns along with ProtectedResourceConditions. Alternatively, you can include up to 30 specific protected resource ARNs in ProtectedResourceArns.

      Parameters:
      restoreTestingSelection - This consists of RestoreTestingSelectionName, ProtectedResourceType, and one of the following:

      • ProtectedResourceArns

      • ProtectedResourceConditions

      Each protected resource type can have one single value.

      A restore testing selection can include a wildcard value ("*") for ProtectedResourceArns along with ProtectedResourceConditions. Alternatively, you can include up to 30 specific protected resource ARNs in ProtectedResourceArns.

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

      default CreateRestoreTestingSelectionRequest.Builder restoreTestingSelection(Consumer<RestoreTestingSelectionForCreate.Builder> restoreTestingSelection)

      This consists of RestoreTestingSelectionName, ProtectedResourceType, and one of the following:

      • ProtectedResourceArns

      • ProtectedResourceConditions

      Each protected resource type can have one single value.

      A restore testing selection can include a wildcard value ("*") for ProtectedResourceArns along with ProtectedResourceConditions. Alternatively, you can include up to 30 specific protected resource ARNs in ProtectedResourceArns.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to restoreTestingSelection(RestoreTestingSelectionForCreate).

      Parameters:
      restoreTestingSelection - a consumer that will call methods on RestoreTestingSelectionForCreate.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.