Interface PipelineObject.Builder

    • Method Detail

      • id

        PipelineObject.Builder id​(String 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

        PipelineObject.Builder name​(String 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

        PipelineObject.Builder fields​(Collection<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

        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

        PipelineObject.Builder fields​(Consumer<Field.Builder>... 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).

        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:
        #fields(java.util.Collection)