@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MongoDbAtlasConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Contains details about the storage configuration of the knowledge base in MongoDB Atlas.
Constructor and Description |
---|
MongoDbAtlasConfiguration() |
Modifier and Type | Method and Description |
---|---|
MongoDbAtlasConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getCollectionName()
The collection name of the knowledge base in MongoDB Atlas.
|
String |
getCredentialsSecretArn()
The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that contains user credentials
for your MongoDB Atlas cluster.
|
String |
getDatabaseName()
The database name in your MongoDB Atlas cluster for your knowledge base.
|
String |
getEndpoint()
The endpoint URL of your MongoDB Atlas cluster for your knowledge base.
|
String |
getEndpointServiceName()
The name of the VPC endpoint service in your account that is connected to your MongoDB Atlas cluster.
|
MongoDbAtlasFieldMapping |
getFieldMapping()
Contains the names of the fields to which to map information about the vector store.
|
String |
getVectorIndexName()
The name of the MongoDB Atlas vector search index.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCollectionName(String collectionName)
The collection name of the knowledge base in MongoDB Atlas.
|
void |
setCredentialsSecretArn(String credentialsSecretArn)
The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that contains user credentials
for your MongoDB Atlas cluster.
|
void |
setDatabaseName(String databaseName)
The database name in your MongoDB Atlas cluster for your knowledge base.
|
void |
setEndpoint(String endpoint)
The endpoint URL of your MongoDB Atlas cluster for your knowledge base.
|
void |
setEndpointServiceName(String endpointServiceName)
The name of the VPC endpoint service in your account that is connected to your MongoDB Atlas cluster.
|
void |
setFieldMapping(MongoDbAtlasFieldMapping fieldMapping)
Contains the names of the fields to which to map information about the vector store.
|
void |
setVectorIndexName(String vectorIndexName)
The name of the MongoDB Atlas vector search index.
|
String |
toString()
Returns a string representation of this object.
|
MongoDbAtlasConfiguration |
withCollectionName(String collectionName)
The collection name of the knowledge base in MongoDB Atlas.
|
MongoDbAtlasConfiguration |
withCredentialsSecretArn(String credentialsSecretArn)
The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that contains user credentials
for your MongoDB Atlas cluster.
|
MongoDbAtlasConfiguration |
withDatabaseName(String databaseName)
The database name in your MongoDB Atlas cluster for your knowledge base.
|
MongoDbAtlasConfiguration |
withEndpoint(String endpoint)
The endpoint URL of your MongoDB Atlas cluster for your knowledge base.
|
MongoDbAtlasConfiguration |
withEndpointServiceName(String endpointServiceName)
The name of the VPC endpoint service in your account that is connected to your MongoDB Atlas cluster.
|
MongoDbAtlasConfiguration |
withFieldMapping(MongoDbAtlasFieldMapping fieldMapping)
Contains the names of the fields to which to map information about the vector store.
|
MongoDbAtlasConfiguration |
withVectorIndexName(String vectorIndexName)
The name of the MongoDB Atlas vector search index.
|
public void setCollectionName(String collectionName)
The collection name of the knowledge base in MongoDB Atlas.
collectionName
- The collection name of the knowledge base in MongoDB Atlas.public String getCollectionName()
The collection name of the knowledge base in MongoDB Atlas.
public MongoDbAtlasConfiguration withCollectionName(String collectionName)
The collection name of the knowledge base in MongoDB Atlas.
collectionName
- The collection name of the knowledge base in MongoDB Atlas.public void setCredentialsSecretArn(String credentialsSecretArn)
The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that contains user credentials for your MongoDB Atlas cluster.
credentialsSecretArn
- The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that contains user
credentials for your MongoDB Atlas cluster.public String getCredentialsSecretArn()
The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that contains user credentials for your MongoDB Atlas cluster.
public MongoDbAtlasConfiguration withCredentialsSecretArn(String credentialsSecretArn)
The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that contains user credentials for your MongoDB Atlas cluster.
credentialsSecretArn
- The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that contains user
credentials for your MongoDB Atlas cluster.public void setDatabaseName(String databaseName)
The database name in your MongoDB Atlas cluster for your knowledge base.
databaseName
- The database name in your MongoDB Atlas cluster for your knowledge base.public String getDatabaseName()
The database name in your MongoDB Atlas cluster for your knowledge base.
public MongoDbAtlasConfiguration withDatabaseName(String databaseName)
The database name in your MongoDB Atlas cluster for your knowledge base.
databaseName
- The database name in your MongoDB Atlas cluster for your knowledge base.public void setEndpoint(String endpoint)
The endpoint URL of your MongoDB Atlas cluster for your knowledge base.
endpoint
- The endpoint URL of your MongoDB Atlas cluster for your knowledge base.public String getEndpoint()
The endpoint URL of your MongoDB Atlas cluster for your knowledge base.
public MongoDbAtlasConfiguration withEndpoint(String endpoint)
The endpoint URL of your MongoDB Atlas cluster for your knowledge base.
endpoint
- The endpoint URL of your MongoDB Atlas cluster for your knowledge base.public void setEndpointServiceName(String endpointServiceName)
The name of the VPC endpoint service in your account that is connected to your MongoDB Atlas cluster.
endpointServiceName
- The name of the VPC endpoint service in your account that is connected to your MongoDB Atlas cluster.public String getEndpointServiceName()
The name of the VPC endpoint service in your account that is connected to your MongoDB Atlas cluster.
public MongoDbAtlasConfiguration withEndpointServiceName(String endpointServiceName)
The name of the VPC endpoint service in your account that is connected to your MongoDB Atlas cluster.
endpointServiceName
- The name of the VPC endpoint service in your account that is connected to your MongoDB Atlas cluster.public void setFieldMapping(MongoDbAtlasFieldMapping 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 MongoDbAtlasFieldMapping getFieldMapping()
Contains the names of the fields to which to map information about the vector store.
public MongoDbAtlasConfiguration withFieldMapping(MongoDbAtlasFieldMapping 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 MongoDB Atlas vector search index.
vectorIndexName
- The name of the MongoDB Atlas vector search index.public String getVectorIndexName()
The name of the MongoDB Atlas vector search index.
public MongoDbAtlasConfiguration withVectorIndexName(String vectorIndexName)
The name of the MongoDB Atlas vector search index.
vectorIndexName
- The name of the MongoDB Atlas vector search index.public String toString()
toString
in class Object
Object.toString()
public MongoDbAtlasConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.