Interface MetadataSchemaEntry.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MetadataSchemaEntry.Builder,,MetadataSchemaEntry> SdkBuilder<MetadataSchemaEntry.Builder,,MetadataSchemaEntry> SdkPojo
- Enclosing class:
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.extractionType(String extractionType) Specifies whether the metadata value is extracted by the LLM or passed through deterministically from the event.extractionType(ExtractionType extractionType) Specifies whether the metadata value is extracted by the LLM or passed through deterministically from the event.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:
-
extractionType
Specifies whether the metadata value is extracted by the LLM or passed through deterministically from the event.
- Parameters:
extractionType- Specifies whether the metadata value is extracted by the LLM or passed through deterministically from the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
extractionType
Specifies whether the metadata value is extracted by the LLM or passed through deterministically from the event.
- Parameters:
extractionType- Specifies whether the metadata value is extracted by the LLM or passed through deterministically from the event.- 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. Applicable only if extractionType is LLM inferred.
- Parameters:
extractionConfig- Configuration for extracting this metadata value from conversational content. Applicable only if extractionType is LLM inferred.- 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. Applicable only if extractionType is LLM inferred.
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:
-