Interface MetadataSchemaEntry.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MetadataSchemaEntry.Builder,,MetadataSchemaEntry> SdkBuilder<MetadataSchemaEntry.Builder,,MetadataSchemaEntry> SdkPojo
- Enclosing class:
MetadataSchemaEntry
@Mutable
@NotThreadSafe
public static interface MetadataSchemaEntry.Builder
extends SdkPojo, CopyableBuilder<MetadataSchemaEntry.Builder,MetadataSchemaEntry>
-
Method Summary
Modifier and TypeMethodDescriptiondefault MetadataSchemaEntry.BuilderextractionConfig(Consumer<ExtractionConfig.Builder> extractionConfig) Configuration for extracting this metadata value from conversational content.extractionConfig(ExtractionConfig extractionConfig) Configuration for extracting this metadata value from conversational content.The metadata field name.The MetadataValueType.type(MetadataValueType type) The MetadataValueType.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
-
key
The metadata field name. Must match an indexed key to be queryable via metadata filters.
- Parameters:
key- The metadata field name. Must match an indexed key to be queryable via metadata filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The MetadataValueType.
- Parameters:
type- The MetadataValueType.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The MetadataValueType.
- Parameters:
type- The MetadataValueType.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
extractionConfig
Configuration for extracting this metadata value from conversational content.
- Parameters:
extractionConfig- Configuration for extracting this metadata value from conversational content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
extractionConfig
default MetadataSchemaEntry.Builder extractionConfig(Consumer<ExtractionConfig.Builder> extractionConfig) Configuration for extracting this metadata value from conversational content.
This is a convenience method that creates an instance of theExtractionConfig.Builderavoiding the need to create one manually viaExtractionConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toextractionConfig(ExtractionConfig).- Parameters:
extractionConfig- a consumer that will call methods onExtractionConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-