Interface TableExcerpt.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TableExcerpt.Builder,TableExcerpt>,SdkBuilder<TableExcerpt.Builder,TableExcerpt>,SdkPojo
- Enclosing class:
- TableExcerpt
public static interface TableExcerpt.Builder extends SdkPojo, CopyableBuilder<TableExcerpt.Builder,TableExcerpt>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TableExcerpt.Builderrows(Collection<TableRow> rows)A list of rows in the table excerpt.TableExcerpt.Builderrows(Consumer<TableRow.Builder>... rows)A list of rows in the table excerpt.TableExcerpt.Builderrows(TableRow... rows)A list of rows in the table excerpt.TableExcerpt.BuildertotalNumberOfRows(Integer totalNumberOfRows)A count of the number of rows in the original table within the document.-
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 Detail
-
rows
TableExcerpt.Builder rows(Collection<TableRow> rows)
A list of rows in the table excerpt.
- Parameters:
rows- A list of rows in the table excerpt.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rows
TableExcerpt.Builder rows(TableRow... rows)
A list of rows in the table excerpt.
- Parameters:
rows- A list of rows in the table excerpt.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rows
TableExcerpt.Builder rows(Consumer<TableRow.Builder>... rows)
A list of rows in the table excerpt.
This is a convenience method that creates an instance of theTableRow.Builderavoiding the need to create one manually viaTableRow.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#rows(List.) - Parameters:
rows- a consumer that will call methods onTableRow.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#rows(java.util.Collection)
-
totalNumberOfRows
TableExcerpt.Builder totalNumberOfRows(Integer totalNumberOfRows)
A count of the number of rows in the original table within the document.
- Parameters:
totalNumberOfRows- A count of the number of rows in the original table within the document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-