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
Modifier and TypeMethodDescriptionrows(Collection<TableRow> rows) A list of rows in the table excerpt.rows(Consumer<TableRow.Builder>... rows) A list of rows in the table excerpt.A list of rows in the table excerpt.totalNumberOfRows(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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 torows(List<TableRow>).- 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:
-
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.
-