Interface ResultRow.Builder

    • Method Detail

      • rowId

        ResultRow.Builder rowId​(String rowId)

        The ID for a particular row.

        Parameters:
        rowId - The ID for a particular row.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dataItems

        ResultRow.Builder dataItems​(Collection<DataItem> dataItems)

        List of all the data cells in a row.

        Parameters:
        dataItems - List of all the data cells in a row.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dataItems

        ResultRow.Builder dataItems​(DataItem... dataItems)

        List of all the data cells in a row.

        Parameters:
        dataItems - List of all the data cells in a row.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dataItems

        ResultRow.Builder dataItems​(Consumer<DataItem.Builder>... dataItems)

        List of all the data cells in a row.

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

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

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