Interface TableRow.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TableRow.Builder,,TableRow> SdkBuilder<TableRow.Builder,,TableRow> SdkPojo
- Enclosing class:
TableRow
public static interface TableRow.Builder
extends SdkPojo, CopyableBuilder<TableRow.Builder,TableRow>
-
Method Summary
Modifier and TypeMethodDescriptioncells(Collection<Cell> cells) A list of cells in the table row.cells(Consumer<Cell.Builder>... cells) A list of cells in the table row.A list of cells in the table row.The id of the row in the table.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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
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 theCell.Builderavoiding the need to create one manually viaCell.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocells(List<Cell>).- Parameters:
cells- a consumer that will call methods onCell.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-