Interface SchemaDefinition.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SchemaDefinition.Builder,
,SchemaDefinition> SdkBuilder<SchemaDefinition.Builder,
,SchemaDefinition> SdkPojo
- Enclosing class:
SchemaDefinition
@Mutable
@NotThreadSafe
public static interface SchemaDefinition.Builder
extends SdkPojo, CopyableBuilder<SchemaDefinition.Builder,SchemaDefinition>
-
Method Summary
Modifier and TypeMethodDescriptioncolumns
(Collection<Column> columns) Specifies one or more columns that store your data.columns
(Consumer<Column.Builder>... columns) Specifies one or more columns that store your data.Specifies one or more columns that store your data.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, sdkFieldNameToField, sdkFields
-
Method Details
-
columns
Specifies one or more columns that store your data.
Each schema can have up to 100 columns. Each column can have up to 100 nested types.
- Parameters:
columns
- Specifies one or more columns that store your data.Each schema can have up to 100 columns. Each column can have up to 100 nested types.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
columns
Specifies one or more columns that store your data.
Each schema can have up to 100 columns. Each column can have up to 100 nested types.
- Parameters:
columns
- Specifies one or more columns that store your data.Each schema can have up to 100 columns. Each column can have up to 100 nested types.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
columns
Specifies one or more columns that store your data.
Each schema can have up to 100 columns. Each column can have up to 100 nested types.
This is a convenience method that creates an instance of theColumn.Builder
avoiding the need to create one manually viaColumn.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocolumns(List<Column>)
.- Parameters:
columns
- a consumer that will call methods onColumn.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-