Interface DescribedWorkflow.Builder

  • Method Details

    • arn

      Specifies the unique Amazon Resource Name (ARN) for the workflow.

      Parameters:
      arn - Specifies the unique Amazon Resource Name (ARN) for the workflow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      DescribedWorkflow.Builder description(String description)

      Specifies the text description for the workflow.

      Parameters:
      description - Specifies the text description for the workflow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • steps

      Specifies the details for the steps that are in the specified workflow.

      Parameters:
      steps - Specifies the details for the steps that are in the specified workflow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • steps

      Specifies the details for the steps that are in the specified workflow.

      Parameters:
      steps - Specifies the details for the steps that are in the specified workflow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • steps

      Specifies the details for the steps that are in the specified workflow.

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

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

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

      DescribedWorkflow.Builder onExceptionSteps(Collection<WorkflowStep> onExceptionSteps)

      Specifies the steps (actions) to take if errors are encountered during execution of the workflow.

      Parameters:
      onExceptionSteps - Specifies the steps (actions) to take if errors are encountered during execution of the workflow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • onExceptionSteps

      DescribedWorkflow.Builder onExceptionSteps(WorkflowStep... onExceptionSteps)

      Specifies the steps (actions) to take if errors are encountered during execution of the workflow.

      Parameters:
      onExceptionSteps - Specifies the steps (actions) to take if errors are encountered during execution of the workflow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • onExceptionSteps

      DescribedWorkflow.Builder onExceptionSteps(Consumer<WorkflowStep.Builder>... onExceptionSteps)

      Specifies the steps (actions) to take if errors are encountered during execution of the workflow.

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

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

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

      DescribedWorkflow.Builder workflowId(String workflowId)

      A unique identifier for the workflow.

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

      Key-value pairs that can be used to group and search for workflows. Tags are metadata attached to workflows for any purpose.

      Parameters:
      tags - Key-value pairs that can be used to group and search for workflows. Tags are metadata attached to workflows for any purpose.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Key-value pairs that can be used to group and search for workflows. Tags are metadata attached to workflows for any purpose.

      Parameters:
      tags - Key-value pairs that can be used to group and search for workflows. Tags are metadata attached to workflows for any purpose.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Key-value pairs that can be used to group and search for workflows. Tags are metadata attached to workflows for any purpose.

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

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

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