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 column description.default ColumnInfo.Buildertype(Consumer<ColumnType.Builder> type)The type of the column description.ColumnInfo.Buildertype(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 Detail
-
name
ColumnInfo.Builder name(String 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
ColumnInfo.Builder type(ColumnType 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
default ColumnInfo.Builder type(Consumer<ColumnType.Builder> type)
The type of the column description.
This is a convenience method that creates an instance of theColumnType.Builderavoiding the need to create one manually viaColumnType.builder().When the
Consumercompletes,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:
type(ColumnType)
-
-