Interface FlowNode.Builder

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

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

    • configuration

      FlowNode.Builder configuration(FlowNodeConfiguration configuration)

      Contains configurations for the node.

      Parameters:
      configuration - Contains configurations for the node.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • configuration

      default FlowNode.Builder configuration(Consumer<FlowNodeConfiguration.Builder> configuration)

      Contains configurations for the node.

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

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

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

      An array of objects, each of which contains information about an input into the node.

      Parameters:
      inputs - An array of objects, each of which contains information about an input into the node.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inputs

      FlowNode.Builder inputs(FlowNodeInput... inputs)

      An array of objects, each of which contains information about an input into the node.

      Parameters:
      inputs - An array of objects, each of which contains information about an input into the node.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inputs

      An array of objects, each of which contains information about an input into the node.

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

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

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

      A name for the node.

      Parameters:
      name - A name for the node.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • outputs

      A list of objects, each of which contains information about an output from the node.

      Parameters:
      outputs - A list of objects, each of which contains information about an output from the node.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • outputs

      FlowNode.Builder outputs(FlowNodeOutput... outputs)

      A list of objects, each of which contains information about an output from the node.

      Parameters:
      outputs - A list of objects, each of which contains information about an output from the node.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • outputs

      A list of objects, each of which contains information about an output from the node.

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

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

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

      The type of node. This value must match the name of the key that you provide in the configuration you provide in the FlowNodeConfiguration field.

      Parameters:
      type - The type of node. This value must match the name of the key that you provide in the configuration you provide in the FlowNodeConfiguration field.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The type of node. This value must match the name of the key that you provide in the configuration you provide in the FlowNodeConfiguration field.

      Parameters:
      type - The type of node. This value must match the name of the key that you provide in the configuration you provide in the FlowNodeConfiguration field.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: