Interface WorkflowGraph.Builder

    • Method Detail

      • nodes

        WorkflowGraph.Builder nodes​(Collection<Node> nodes)

        A list of the the Glue components belong to the workflow represented as nodes.

        Parameters:
        nodes - A list of the the Glue components belong to the workflow represented as nodes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nodes

        WorkflowGraph.Builder nodes​(Node... nodes)

        A list of the the Glue components belong to the workflow represented as nodes.

        Parameters:
        nodes - A list of the the Glue components belong to the workflow represented as nodes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nodes

        WorkflowGraph.Builder nodes​(Consumer<Node.Builder>... nodes)

        A list of the the Glue components belong to the workflow represented as nodes.

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

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #nodes(List).

        Parameters:
        nodes - a consumer that will call methods on Node.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #nodes(java.util.Collection)
      • edges

        WorkflowGraph.Builder edges​(Collection<Edge> edges)

        A list of all the directed connections between the nodes belonging to the workflow.

        Parameters:
        edges - A list of all the directed connections between the nodes belonging to the workflow.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • edges

        WorkflowGraph.Builder edges​(Edge... edges)

        A list of all the directed connections between the nodes belonging to the workflow.

        Parameters:
        edges - A list of all the directed connections between the nodes belonging to the workflow.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • edges

        WorkflowGraph.Builder edges​(Consumer<Edge.Builder>... edges)

        A list of all the directed connections between the nodes belonging to the workflow.

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

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #edges(List).

        Parameters:
        edges - a consumer that will call methods on Edge.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #edges(java.util.Collection)