Interface Record.Builder

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

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

    • 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

      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<Value>).

      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: