Interface GetWorkflowResponse.Builder

  • Method Details

    • workflowId

      GetWorkflowResponse.Builder workflowId(String workflowId)

      Unique identifier for the workflow.

      Parameters:
      workflowId - Unique identifier for the workflow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • workflowType

      GetWorkflowResponse.Builder workflowType(String workflowType)

      The type of workflow. The only supported value is APPFLOW_INTEGRATION.

      Parameters:
      workflowType - The type of workflow. The only supported value is APPFLOW_INTEGRATION.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • workflowType

      GetWorkflowResponse.Builder workflowType(WorkflowType workflowType)

      The type of workflow. The only supported value is APPFLOW_INTEGRATION.

      Parameters:
      workflowType - The type of workflow. The only supported value is APPFLOW_INTEGRATION.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      Status of workflow execution.

      Parameters:
      status - Status of workflow execution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      Status of workflow execution.

      Parameters:
      status - Status of workflow execution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • errorDescription

      GetWorkflowResponse.Builder errorDescription(String errorDescription)

      Workflow error messages during execution (if any).

      Parameters:
      errorDescription - Workflow error messages during execution (if any).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startDate

      GetWorkflowResponse.Builder startDate(Instant startDate)

      The timestamp that represents when workflow execution started.

      Parameters:
      startDate - The timestamp that represents when workflow execution started.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdatedAt

      GetWorkflowResponse.Builder lastUpdatedAt(Instant lastUpdatedAt)

      The timestamp that represents when workflow execution last updated.

      Parameters:
      lastUpdatedAt - The timestamp that represents when workflow execution last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • attributes

      Attributes provided for workflow execution.

      Parameters:
      attributes - Attributes provided for workflow execution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • attributes

      Attributes provided for workflow execution.

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

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

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

      Workflow specific execution metrics.

      Parameters:
      metrics - Workflow specific execution metrics.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metrics

      Workflow specific execution metrics.

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

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

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