Interface Record.Builder

    • Method Detail

      • values

        Record.Builder values​(Collection<Value> values)

        The values returned in the record.

        Parameters:
        values - The values returned in the record.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • values

        Record.Builder values​(Value... values)

        The values returned in the record.

        Parameters:
        values - The values returned in the record.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • values

        Record.Builder values​(Consumer<Value.Builder>... values)

        The values returned in the record.

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

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

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