@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PineconeFieldMapping extends Object implements Serializable, Cloneable, StructuredPojo
Contains the names of the fields to which to map information about the vector store.
Constructor and Description |
---|
PineconeFieldMapping() |
Modifier and Type | Method and Description |
---|---|
PineconeFieldMapping |
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.
|
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.
|
String |
toString()
Returns a string representation of this object.
|
PineconeFieldMapping |
withMetadataField(String metadataField)
The name of the field in which Amazon Bedrock stores metadata about the vector store.
|
PineconeFieldMapping |
withTextField(String textField)
The name of the field in which Amazon Bedrock stores the raw text from your data.
|
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 PineconeFieldMapping 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 PineconeFieldMapping 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 String toString()
toString
in class Object
Object.toString()
public PineconeFieldMapping clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.