Interface IcebergSchema.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<IcebergSchema.Builder,IcebergSchema>,SdkBuilder<IcebergSchema.Builder,IcebergSchema>,SdkPojo
- Enclosing class:
- IcebergSchema
public static interface IcebergSchema.Builder extends SdkPojo, CopyableBuilder<IcebergSchema.Builder,IcebergSchema>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IcebergSchema.Builderfields(Collection<SchemaField> fields)The schema fields for the tableIcebergSchema.Builderfields(Consumer<SchemaField.Builder>... fields)The schema fields for the tableIcebergSchema.Builderfields(SchemaField... fields)The schema fields for the table-
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 Detail
-
fields
IcebergSchema.Builder fields(Collection<SchemaField> fields)
The schema fields for the table
- Parameters:
fields- The schema fields for the table- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
IcebergSchema.Builder fields(SchemaField... fields)
The schema fields for the table
- Parameters:
fields- The schema fields for the table- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
IcebergSchema.Builder fields(Consumer<SchemaField.Builder>... fields)
The schema fields for the table
This is a convenience method that creates an instance of theSchemaField.Builderavoiding the need to create one manually viaSchemaField.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#fields(List.) - Parameters:
fields- a consumer that will call methods onSchemaField.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#fields(java.util.Collection)
-
-