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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResultRow.BuilderdataItems(Collection<DataItem> dataItems)List of all the data cells in a row.ResultRow.BuilderdataItems(Consumer<DataItem.Builder>... dataItems)List of all the data cells in a row.ResultRow.BuilderdataItems(DataItem... dataItems)List of all the data cells in a row.ResultRow.BuilderrowId(String rowId)The ID for a particular 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 Detail
-
rowId
ResultRow.Builder rowId(String 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
ResultRow.Builder dataItems(Collection<DataItem> 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
ResultRow.Builder dataItems(DataItem... 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
ResultRow.Builder dataItems(Consumer<DataItem.Builder>... 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 to#dataItems(List.) - 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:
#dataItems(java.util.Collection)
-
-