Interface GetWorkflowStepResponse.Builder

  • Method Details

    • name

      The name of the step.

      Parameters:
      name - The name of the step.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stepGroupId

      GetWorkflowStepResponse.Builder stepGroupId(String stepGroupId)

      The ID of the step group.

      Parameters:
      stepGroupId - The ID of the step group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • workflowId

      GetWorkflowStepResponse.Builder workflowId(String workflowId)

      The ID of the migration workflow.

      Parameters:
      workflowId - The ID of the migration workflow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stepId

      The ID of the step.

      Parameters:
      stepId - The ID of the step.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      GetWorkflowStepResponse.Builder description(String description)

      The description of the step.

      Parameters:
      description - The description of the step.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stepActionType

      GetWorkflowStepResponse.Builder stepActionType(String stepActionType)

      The action type of the step. You must run and update the status of a manual step for the workflow to continue after the completion of the step.

      Parameters:
      stepActionType - The action type of the step. You must run and update the status of a manual step for the workflow to continue after the completion of the step.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • stepActionType

      GetWorkflowStepResponse.Builder stepActionType(StepActionType stepActionType)

      The action type of the step. You must run and update the status of a manual step for the workflow to continue after the completion of the step.

      Parameters:
      stepActionType - The action type of the step. You must run and update the status of a manual step for the workflow to continue after the completion of the step.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • owner

      The owner of the step.

      Parameters:
      owner - The owner of the step.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • owner

      The owner of the step.

      Parameters:
      owner - The owner of the step.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • workflowStepAutomationConfiguration

      GetWorkflowStepResponse.Builder workflowStepAutomationConfiguration(WorkflowStepAutomationConfiguration workflowStepAutomationConfiguration)

      The custom script to run tests on source or target environments.

      Parameters:
      workflowStepAutomationConfiguration - The custom script to run tests on source or target environments.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • workflowStepAutomationConfiguration

      default GetWorkflowStepResponse.Builder workflowStepAutomationConfiguration(Consumer<WorkflowStepAutomationConfiguration.Builder> workflowStepAutomationConfiguration)

      The custom script to run tests on source or target environments.

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

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

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

      The servers on which a step will be run.

      Parameters:
      stepTarget - The servers on which a step will be run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stepTarget

      GetWorkflowStepResponse.Builder stepTarget(String... stepTarget)

      The servers on which a step will be run.

      Parameters:
      stepTarget - The servers on which a step will be run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • outputs

      The outputs of the step.

      Parameters:
      outputs - The outputs of the step.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • outputs

      The outputs of the step.

      Parameters:
      outputs - The outputs of the step.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • outputs

      The outputs of the step.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to outputs(List<WorkflowStepOutput>).

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

      The previous step.

      Parameters:
      previous - The previous step.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • previous

      GetWorkflowStepResponse.Builder previous(String... previous)

      The previous step.

      Parameters:
      previous - The previous step.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • next

      The next step.

      Parameters:
      next - The next step.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • next

      The next step.

      Parameters:
      next - The next step.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The status of the step.

      Parameters:
      status - The status of the step.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the step.

      Parameters:
      status - The status of the step.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • statusMessage

      GetWorkflowStepResponse.Builder statusMessage(String statusMessage)

      The status message of the migration workflow.

      Parameters:
      statusMessage - The status message of the migration workflow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scriptOutputLocation

      GetWorkflowStepResponse.Builder scriptOutputLocation(String scriptOutputLocation)

      The output location of the script.

      Parameters:
      scriptOutputLocation - The output location of the script.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • creationTime

      GetWorkflowStepResponse.Builder creationTime(Instant creationTime)

      The time at which the step was created.

      Parameters:
      creationTime - The time at which the step was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastStartTime

      GetWorkflowStepResponse.Builder lastStartTime(Instant lastStartTime)

      The time at which the workflow was last started.

      Parameters:
      lastStartTime - The time at which the workflow was last started.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endTime

      The time at which the step ended.

      Parameters:
      endTime - The time at which the step ended.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • noOfSrvCompleted

      GetWorkflowStepResponse.Builder noOfSrvCompleted(Integer noOfSrvCompleted)

      The number of servers that have been migrated.

      Parameters:
      noOfSrvCompleted - The number of servers that have been migrated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • noOfSrvFailed

      GetWorkflowStepResponse.Builder noOfSrvFailed(Integer noOfSrvFailed)

      The number of servers that have failed to migrate.

      Parameters:
      noOfSrvFailed - The number of servers that have failed to migrate.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • totalNoOfSrv

      GetWorkflowStepResponse.Builder totalNoOfSrv(Integer totalNoOfSrv)

      The total number of servers that have been migrated.

      Parameters:
      totalNoOfSrv - The total number of servers that have been migrated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.