Interface GlueSchema.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<GlueSchema.Builder,
,GlueSchema> SdkBuilder<GlueSchema.Builder,
,GlueSchema> SdkPojo
- Enclosing class:
GlueSchema
public static interface GlueSchema.Builder
extends SdkPojo, CopyableBuilder<GlueSchema.Builder,GlueSchema>
-
Method Summary
Modifier and TypeMethodDescriptioncolumns
(Collection<GlueStudioSchemaColumn> columns) Specifies the column definitions that make up a Glue schema.columns
(Consumer<GlueStudioSchemaColumn.Builder>... columns) Specifies the column definitions that make up a Glue schema.columns
(GlueStudioSchemaColumn... columns) Specifies the column definitions that make up a Glue schema.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
-
columns
Specifies the column definitions that make up a Glue schema.
- Parameters:
columns
- Specifies the column definitions that make up a Glue schema.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
columns
Specifies the column definitions that make up a Glue schema.
- Parameters:
columns
- Specifies the column definitions that make up a Glue schema.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
columns
Specifies the column definitions that make up a Glue schema.
This is a convenience method that creates an instance of theGlueStudioSchemaColumn.Builder
avoiding the need to create one manually viaGlueStudioSchemaColumn.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocolumns(List<GlueStudioSchemaColumn>)
.- Parameters:
columns
- a consumer that will call methods onGlueStudioSchemaColumn.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-