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 column description.default ColumnInfo.Builder
type
(Consumer<ColumnType.Builder> type) The type of the column description.type
(ColumnType type) The type of the column description.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 Details
-
name
The name of the column description.
- Parameters:
name
- The name of the column description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of the column description.
- Parameters:
type
- The type of the column description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of the column description.
This is a convenience method that creates an instance of theColumnType.Builder
avoiding the need to create one manually viaColumnType.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totype(ColumnType)
.- Parameters:
type
- a consumer that will call methods onColumnType.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-