Interface ColumnInfo.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ColumnInfo.Builder,ColumnInfo>,SdkBuilder<ColumnInfo.Builder,ColumnInfo>,SdkPojo
- Enclosing class:
- ColumnInfo
public static interface ColumnInfo.Builder extends SdkPojo, CopyableBuilder<ColumnInfo.Builder,ColumnInfo>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ColumnInfo.Buildername(String name)The name of the result set column.default ColumnInfo.Buildertype(Consumer<Type.Builder> type)The data type of the result set column.ColumnInfo.Buildertype(Type type)The data type of the result set column.-
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
-
name
ColumnInfo.Builder name(String name)
The name of the result set column. The name of the result set is available for columns of all data types except for arrays.
- Parameters:
name- The name of the result set column. The name of the result set is available for columns of all data types except for arrays.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
ColumnInfo.Builder type(Type type)
The data type of the result set column. The data type can be a scalar or complex. Scalar data types are integers, strings, doubles, Booleans, and others. Complex data types are types such as arrays, rows, and others.
- Parameters:
type- The data type of the result set column. The data type can be a scalar or complex. Scalar data types are integers, strings, doubles, Booleans, and others. Complex data types are types such as arrays, rows, and others.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
default ColumnInfo.Builder type(Consumer<Type.Builder> type)
The data type of the result set column. The data type can be a scalar or complex. Scalar data types are integers, strings, doubles, Booleans, and others. Complex data types are types such as arrays, rows, and others.
This is a convenience method that creates an instance of theType.Builderavoiding the need to create one manually viaType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totype(Type).- Parameters:
type- a consumer that will call methods onType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
type(Type)
-
-