Interface PipelineObject.Builder

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

public static interface PipelineObject.Builder extends SdkPojo, CopyableBuilder<PipelineObject.Builder,PipelineObject>
  • Method Details

    • id

      The ID of the object.

      Parameters:
      id - The ID of the object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the object.

      Parameters:
      name - The name of the object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fields

      Key-value pairs that define the properties of the object.

      Parameters:
      fields - Key-value pairs that define the properties of the object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fields

      PipelineObject.Builder fields(Field... fields)

      Key-value pairs that define the properties of the object.

      Parameters:
      fields - Key-value pairs that define the properties of the object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fields

      Key-value pairs that define the properties of the object.

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

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

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