@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OpenSearchServerlessFieldMapping extends Object implements Serializable, Cloneable, StructuredPojo
Contains the names of the fields to which to map information about the vector store.
Constructor and Description |
---|
OpenSearchServerlessFieldMapping() |
Modifier and Type | Method and Description |
---|---|
OpenSearchServerlessFieldMapping |
clone() |
boolean |
equals(Object obj) |
String |
getMetadataField()
The name of the field in which Amazon Bedrock stores metadata about the vector store.
|
String |
getTextField()
The name of the field in which Amazon Bedrock stores the raw text from your data.
|
String |
getVectorField()
The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMetadataField(String metadataField)
The name of the field in which Amazon Bedrock stores metadata about the vector store.
|
void |
setTextField(String textField)
The name of the field in which Amazon Bedrock stores the raw text from your data.
|
void |
setVectorField(String vectorField)
The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.
|
String |
toString()
Returns a string representation of this object.
|
OpenSearchServerlessFieldMapping |
withMetadataField(String metadataField)
The name of the field in which Amazon Bedrock stores metadata about the vector store.
|
OpenSearchServerlessFieldMapping |
withTextField(String textField)
The name of the field in which Amazon Bedrock stores the raw text from your data.
|
OpenSearchServerlessFieldMapping |
withVectorField(String vectorField)
The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.
|
public void setMetadataField(String metadataField)
The name of the field in which Amazon Bedrock stores metadata about the vector store.
metadataField
- The name of the field in which Amazon Bedrock stores metadata about the vector store.public String getMetadataField()
The name of the field in which Amazon Bedrock stores metadata about the vector store.
public OpenSearchServerlessFieldMapping withMetadataField(String metadataField)
The name of the field in which Amazon Bedrock stores metadata about the vector store.
metadataField
- The name of the field in which Amazon Bedrock stores metadata about the vector store.public void setTextField(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.
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.public String getTextField()
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.
public OpenSearchServerlessFieldMapping withTextField(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.
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.public void setVectorField(String vectorField)
The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.
vectorField
- The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.public String getVectorField()
The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.
public OpenSearchServerlessFieldMapping withVectorField(String vectorField)
The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.
vectorField
- The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.public String toString()
toString
in class Object
Object.toString()
public OpenSearchServerlessFieldMapping clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.