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
Modifier and TypeMethodDescriptionThe name of the result set column.default ColumnInfo.Buildertype(Consumer<Type.Builder> type) The data type of the result set column.The data type of the result set column.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
-
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
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
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:
-