Interface SqlRow.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SqlRow.Builder,,SqlRow> SdkBuilder<SqlRow.Builder,,SqlRow> SdkPojo
- Enclosing class:
SqlRow
@Mutable
@NotThreadSafe
public static interface SqlRow.Builder
extends SdkPojo, CopyableBuilder<SqlRow.Builder,SqlRow>
-
Method Summary
Modifier and TypeMethodDescriptionvalues(Collection<SqlValue> values) The row's values, one per column, in column order.values(Consumer<SqlValue.Builder>... values) The row's values, one per column, in column order.The row's values, one per column, in column order.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, sdkFieldNameToField, sdkFields
-
Method Details
-
values
The row's values, one per column, in column order.
- Parameters:
values- The row's values, one per column, in column order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
The row's values, one per column, in column order.
- Parameters:
values- The row's values, one per column, in column order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
The row's values, one per column, in column order.
This is a convenience method that creates an instance of theSqlValue.Builderavoiding the need to create one manually viaSqlValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovalues(List<SqlValue>).- Parameters:
values- a consumer that will call methods onSqlValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-