Interface ResultRow.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ResultRow.Builder,,ResultRow> SdkBuilder<ResultRow.Builder,,ResultRow> SdkPojo
- Enclosing class:
ResultRow
public static interface ResultRow.Builder
extends SdkPojo, CopyableBuilder<ResultRow.Builder,ResultRow>
-
Method Summary
Modifier and TypeMethodDescriptiondataItems(Collection<DataItem> dataItems) List of all the data cells in a row.dataItems(Consumer<DataItem.Builder>... dataItems) List of all the data cells in a row.List of all the data cells in a row.The ID for a particular row.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 for a particular row.
- Parameters:
rowId- The ID for a particular row.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataItems
List of all the data cells in a row.
- Parameters:
dataItems- List of all the data cells in a row.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataItems
List of all the data cells in a row.
- Parameters:
dataItems- List of all the data cells in a row.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataItems
List of all the data cells in a row.
This is a convenience method that creates an instance of theDataItem.Builderavoiding the need to create one manually viaDataItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todataItems(List<DataItem>).- Parameters:
dataItems- a consumer that will call methods onDataItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-