Interface FieldDefinition.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<FieldDefinition.Builder,,FieldDefinition> SdkBuilder<FieldDefinition.Builder,,FieldDefinition> SdkPojo
- Enclosing class:
FieldDefinition
-
Method Summary
Modifier and TypeMethodDescriptionfieldDataType(String fieldDataType) The data type of the field.fieldDataType(FieldDataType fieldDataType) The data type of the field.default FieldDefinition.BuilderfilterOverrides(Consumer<FilterOverrides.Builder> filterOverrides) Per-field overrides for filter behavior, allowing customization of how filters are applied to this specific field.filterOverrides(FilterOverrides filterOverrides) Per-field overrides for filter behavior, allowing customization of how filters are applied to this specific field.isNullable(Boolean isNullable) Indicates whether this field can contain null values.isOrderable(Boolean isOrderable) Indicates whether this field can be used for ordering results.isPartitionable(Boolean isPartitionable) Indicates whether this field can be used for partitioning queries to the data source.isQueryable(Boolean isQueryable) Indicates whether this field can be used in filter predicates when querying data.The name of the field in the entity schema.responseDateFormat(String responseDateFormat) The format pattern for parsing date values from API responses.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
-
name
The name of the field in the entity schema.
- Parameters:
name- The name of the field in the entity schema.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldDataType
The data type of the field.
- Parameters:
fieldDataType- The data type of the field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fieldDataType
The data type of the field.
- Parameters:
fieldDataType- The data type of the field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
responseDateFormat
The format pattern for parsing date values from API responses. Required when the API uses a non-ISO-8601 format. Accepts Java
DateTimeFormatterpatterns (for example,EEE, d MMM yyyy HH:mm:ss Z),EPOCH_SECONDSfor Unix epoch seconds, orEPOCH_MILLISfor Unix epoch milliseconds.- Parameters:
responseDateFormat- The format pattern for parsing date values from API responses. Required when the API uses a non-ISO-8601 format. Accepts JavaDateTimeFormatterpatterns (for example,EEE, d MMM yyyy HH:mm:ss Z),EPOCH_SECONDSfor Unix epoch seconds, orEPOCH_MILLISfor Unix epoch milliseconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isPartitionable
Indicates whether this field can be used for partitioning queries to the data source.
- Parameters:
isPartitionable- Indicates whether this field can be used for partitioning queries to the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isNullable
Indicates whether this field can contain null values.
- Parameters:
isNullable- Indicates whether this field can contain null values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isQueryable
Indicates whether this field can be used in filter predicates when querying data.
- Parameters:
isQueryable- Indicates whether this field can be used in filter predicates when querying data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isOrderable
Indicates whether this field can be used for ordering results.
- Parameters:
isOrderable- Indicates whether this field can be used for ordering results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filterOverrides
Per-field overrides for filter behavior, allowing customization of how filters are applied to this specific field.
- Parameters:
filterOverrides- Per-field overrides for filter behavior, allowing customization of how filters are applied to this specific field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filterOverrides
Per-field overrides for filter behavior, allowing customization of how filters are applied to this specific field.
This is a convenience method that creates an instance of theFilterOverrides.Builderavoiding the need to create one manually viaFilterOverrides.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilterOverrides(FilterOverrides).- Parameters:
filterOverrides- a consumer that will call methods onFilterOverrides.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-