@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OpenSearchServerlessConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Contains details about the storage configuration of the knowledge base in Amazon OpenSearch Service. For more information, see Create a vector index in Amazon OpenSearch Service.
Constructor and Description |
---|
OpenSearchServerlessConfiguration() |
Modifier and Type | Method and Description |
---|---|
OpenSearchServerlessConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getCollectionArn()
The Amazon Resource Name (ARN) of the OpenSearch Service vector store.
|
OpenSearchServerlessFieldMapping |
getFieldMapping()
Contains the names of the fields to which to map information about the vector store.
|
String |
getVectorIndexName()
The name of the vector store.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCollectionArn(String collectionArn)
The Amazon Resource Name (ARN) of the OpenSearch Service vector store.
|
void |
setFieldMapping(OpenSearchServerlessFieldMapping fieldMapping)
Contains the names of the fields to which to map information about the vector store.
|
void |
setVectorIndexName(String vectorIndexName)
The name of the vector store.
|
String |
toString()
Returns a string representation of this object.
|
OpenSearchServerlessConfiguration |
withCollectionArn(String collectionArn)
The Amazon Resource Name (ARN) of the OpenSearch Service vector store.
|
OpenSearchServerlessConfiguration |
withFieldMapping(OpenSearchServerlessFieldMapping fieldMapping)
Contains the names of the fields to which to map information about the vector store.
|
OpenSearchServerlessConfiguration |
withVectorIndexName(String vectorIndexName)
The name of the vector store.
|
public void setCollectionArn(String collectionArn)
The Amazon Resource Name (ARN) of the OpenSearch Service vector store.
collectionArn
- The Amazon Resource Name (ARN) of the OpenSearch Service vector store.public String getCollectionArn()
The Amazon Resource Name (ARN) of the OpenSearch Service vector store.
public OpenSearchServerlessConfiguration withCollectionArn(String collectionArn)
The Amazon Resource Name (ARN) of the OpenSearch Service vector store.
collectionArn
- The Amazon Resource Name (ARN) of the OpenSearch Service vector store.public void setFieldMapping(OpenSearchServerlessFieldMapping fieldMapping)
Contains the names of the fields to which to map information about the vector store.
fieldMapping
- Contains the names of the fields to which to map information about the vector store.public OpenSearchServerlessFieldMapping getFieldMapping()
Contains the names of the fields to which to map information about the vector store.
public OpenSearchServerlessConfiguration withFieldMapping(OpenSearchServerlessFieldMapping fieldMapping)
Contains the names of the fields to which to map information about the vector store.
fieldMapping
- Contains the names of the fields to which to map information about the vector store.public void setVectorIndexName(String vectorIndexName)
The name of the vector store.
vectorIndexName
- The name of the vector store.public String getVectorIndexName()
The name of the vector store.
public OpenSearchServerlessConfiguration withVectorIndexName(String vectorIndexName)
The name of the vector store.
vectorIndexName
- The name of the vector store.public String toString()
toString
in class Object
Object.toString()
public OpenSearchServerlessConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.