Interface TableRow.Builder

    • Method Detail

      • rowId

        TableRow.Builder rowId​(String rowId)

        The id of the row in the table.

        Parameters:
        rowId - The id of the row in the table.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • cells

        TableRow.Builder cells​(Collection<Cell> cells)

        A list of cells in the table row. The cells appear in the same order as the columns of the table.

        Parameters:
        cells - A list of cells in the table row. The cells appear in the same order as the columns of the table.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • cells

        TableRow.Builder cells​(Cell... cells)

        A list of cells in the table row. The cells appear in the same order as the columns of the table.

        Parameters:
        cells - A list of cells in the table row. The cells appear in the same order as the columns of the table.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • cells

        TableRow.Builder cells​(Consumer<Cell.Builder>... cells)

        A list of cells in the table row. The cells appear in the same order as the columns of the table.

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

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

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