Class OpenSearchManagedClusterFieldMapping
- java.lang.Object
-
- software.amazon.awssdk.services.bedrockagent.model.OpenSearchManagedClusterFieldMapping
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<OpenSearchManagedClusterFieldMapping.Builder,OpenSearchManagedClusterFieldMapping>
@Generated("software.amazon.awssdk:codegen") public final class OpenSearchManagedClusterFieldMapping extends Object implements SdkPojo, Serializable, ToCopyableBuilder<OpenSearchManagedClusterFieldMapping.Builder,OpenSearchManagedClusterFieldMapping>
Contains the names of the fields to which to map information about the vector store.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceOpenSearchManagedClusterFieldMapping.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OpenSearchManagedClusterFieldMapping.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringmetadataField()The name of the field in which Amazon Bedrock stores metadata about the vector store.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends OpenSearchManagedClusterFieldMapping.Builder>serializableBuilderClass()StringtextField()The name of the field in which Amazon Bedrock stores the raw text from your data.OpenSearchManagedClusterFieldMapping.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringvectorField()The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
vectorField
public final String vectorField()
The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.
- Returns:
- The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.
-
textField
public final 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.
- Returns:
- 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.
-
metadataField
public final String metadataField()
The name of the field in which Amazon Bedrock stores metadata about the vector store.
- Returns:
- The name of the field in which Amazon Bedrock stores metadata about the vector store.
-
toBuilder
public OpenSearchManagedClusterFieldMapping.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<OpenSearchManagedClusterFieldMapping.Builder,OpenSearchManagedClusterFieldMapping>
-
builder
public static OpenSearchManagedClusterFieldMapping.Builder builder()
-
serializableBuilderClass
public static Class<? extends OpenSearchManagedClusterFieldMapping.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-