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<TableCell> cells) A list of table cells in a row.cells
(Consumer<TableCell.Builder>... cells) A list of table cells in a row.A list of table cells in a row.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
cells
A list of table cells in a row.
- Parameters:
cells
- A list of table cells in a row.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cells
A list of table cells in a row.
- Parameters:
cells
- A list of table cells in a row.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cells
A list of table cells in a row.
This is a convenience method that creates an instance of theTableCell.Builder
avoiding the need to create one manually viaTableCell.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocells(List<TableCell>)
.- Parameters:
cells
- a consumer that will call methods onTableCell.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-