Interface IcebergSchema.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<IcebergSchema.Builder,,IcebergSchema> SdkBuilder<IcebergSchema.Builder,,IcebergSchema> SdkPojo
- Enclosing class:
IcebergSchema
@Mutable
@NotThreadSafe
public static interface IcebergSchema.Builder
extends SdkPojo, CopyableBuilder<IcebergSchema.Builder,IcebergSchema>
-
Method Summary
Modifier and TypeMethodDescriptionfields(Collection<SchemaField> fields) The schema fields for the tablefields(Consumer<SchemaField.Builder>... fields) The schema fields for the tablefields(SchemaField... fields) The schema fields for the tableMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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 tofields(List<SchemaField>).- 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:
-