Interface SchemaField.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SchemaField.Builder,,SchemaField> SdkBuilder<SchemaField.Builder,,SchemaField> SdkPojo
- Enclosing class:
SchemaField
@Mutable
@NotThreadSafe
public static interface SchemaField.Builder
extends SdkPojo, CopyableBuilder<SchemaField.Builder,SchemaField>
-
Method Summary
Modifier and TypeMethodDescriptionAn optional unique identifier for the schema field.The name of the field.A Boolean value that specifies whether values are required for each row in this field.The field type.Methods 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
-
id
An optional unique identifier for the schema field. Field IDs are used by Apache Iceberg to track schema evolution and maintain compatibility across schema changes. If not specified, S3 Tables automatically assigns field IDs.
- Parameters:
id- An optional unique identifier for the schema field. Field IDs are used by Apache Iceberg to track schema evolution and maintain compatibility across schema changes. If not specified, S3 Tables automatically assigns field IDs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the field.
- Parameters:
name- The name of the field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The field type. S3 Tables supports all Apache Iceberg primitive types. For more information, see the Apache Iceberg documentation.
- Parameters:
type- The field type. S3 Tables supports all Apache Iceberg primitive types. For more information, see the Apache Iceberg documentation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
required
A Boolean value that specifies whether values are required for each row in this field. By default, this is
falseand null values are allowed in the field. If this istruethe field does not allow null values.- Parameters:
required- A Boolean value that specifies whether values are required for each row in this field. By default, this isfalseand null values are allowed in the field. If this istruethe field does not allow null values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-