Interface SchemaUnion.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SchemaUnion.Builder,
,SchemaUnion> SdkBuilder<SchemaUnion.Builder,
,SchemaUnion> SdkPojo
- Enclosing class:
SchemaUnion
@Mutable
@NotThreadSafe
public static interface SchemaUnion.Builder
extends SdkPojo, CopyableBuilder<SchemaUnion.Builder,SchemaUnion>
-
Method Summary
Modifier and TypeMethodDescriptiondefault SchemaUnion.Builder
tabularSchemaConfig
(Consumer<SchemaDefinition.Builder> tabularSchemaConfig) The configuration for a schema on a tabular Dataset.tabularSchemaConfig
(SchemaDefinition tabularSchemaConfig) The configuration for a schema on a tabular Dataset.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
-
tabularSchemaConfig
The configuration for a schema on a tabular Dataset.
- Parameters:
tabularSchemaConfig
- The configuration for a schema on a tabular Dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tabularSchemaConfig
default SchemaUnion.Builder tabularSchemaConfig(Consumer<SchemaDefinition.Builder> tabularSchemaConfig) The configuration for a schema on a tabular Dataset.
This is a convenience method that creates an instance of theSchemaDefinition.Builder
avoiding the need to create one manually viaSchemaDefinition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totabularSchemaConfig(SchemaDefinition)
.- Parameters:
tabularSchemaConfig
- a consumer that will call methods onSchemaDefinition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-