Interface OpenSearchServerlessFieldMapping.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<OpenSearchServerlessFieldMapping.Builder,OpenSearchServerlessFieldMapping>,SdkBuilder<OpenSearchServerlessFieldMapping.Builder,OpenSearchServerlessFieldMapping>,SdkPojo
- Enclosing class:
- OpenSearchServerlessFieldMapping
public static interface OpenSearchServerlessFieldMapping.Builder extends SdkPojo, CopyableBuilder<OpenSearchServerlessFieldMapping.Builder,OpenSearchServerlessFieldMapping>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OpenSearchServerlessFieldMapping.BuildermetadataField(String metadataField)The name of the field in which Amazon Bedrock stores metadata about the vector store.OpenSearchServerlessFieldMapping.BuildertextField(String textField)The name of the field in which Amazon Bedrock stores the raw text from your data.OpenSearchServerlessFieldMapping.BuildervectorField(String vectorField)The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
metadataField
OpenSearchServerlessFieldMapping.Builder metadataField(String metadataField)
The name of the field in which Amazon Bedrock stores metadata about the vector store.
- Parameters:
metadataField- The name of the field in which Amazon Bedrock stores metadata about the vector store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
textField
OpenSearchServerlessFieldMapping.Builder textField(String textField)
The name of the field in which Amazon Bedrock stores the raw text from your data. The text is split according to the chunking strategy you choose.
- Parameters:
textField- The name of the field in which Amazon Bedrock stores the raw text from your data. The text is split according to the chunking strategy you choose.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vectorField
OpenSearchServerlessFieldMapping.Builder vectorField(String vectorField)
The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.
- Parameters:
vectorField- The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-