Interface Workflow.Builder

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

@Mutable @NotThreadSafe public static interface Workflow.Builder extends SdkPojo, CopyableBuilder<Workflow.Builder,Workflow>
  • Method Details

    • steps

      The steps that make up the workflow.

      Parameters:
      steps - The steps that make up the workflow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • steps

      Workflow.Builder steps(Step... steps)

      The steps that make up the workflow.

      Parameters:
      steps - The steps that make up the workflow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • steps

      The steps that make up the workflow.

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

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

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

      Workflow.Builder workflowTargetAction(String workflowTargetAction)

      The action that the workflow performs. Valid values include ACTIVATE and DEACTIVATE.

      Parameters:
      workflowTargetAction - The action that the workflow performs. Valid values include ACTIVATE and DEACTIVATE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • workflowTargetAction

      Workflow.Builder workflowTargetAction(WorkflowTargetAction workflowTargetAction)

      The action that the workflow performs. Valid values include ACTIVATE and DEACTIVATE.

      Parameters:
      workflowTargetAction - The action that the workflow performs. Valid values include ACTIVATE and DEACTIVATE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • workflowTargetRegion

      Workflow.Builder workflowTargetRegion(String workflowTargetRegion)

      The Amazon Web Services Region that the workflow targets.

      Parameters:
      workflowTargetRegion - The Amazon Web Services Region that the workflow targets.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • workflowDescription

      Workflow.Builder workflowDescription(String workflowDescription)

      The description of the workflow.

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