Class MongoDbAtlasConfiguration
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MongoDbAtlasConfiguration.Builder,MongoDbAtlasConfiguration>
Contains details about the storage configuration of the knowledge base in MongoDB Atlas.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final StringThe collection name of the knowledge base in MongoDB Atlas.final StringThe Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that contains user credentials for your MongoDB Atlas cluster.final StringThe database name in your MongoDB Atlas cluster for your knowledge base.final Stringendpoint()The endpoint URL of your MongoDB Atlas cluster for your knowledge base.final StringThe name of the VPC endpoint service in your account that is connected to your MongoDB Atlas cluster.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final MongoDbAtlasFieldMappingContains the names of the fields to which to map information about the vector store.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends MongoDbAtlasConfiguration.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final StringThe name of the MongoDB Atlas vector search index.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
collectionName
The collection name of the knowledge base in MongoDB Atlas.
- Returns:
- The collection name of the knowledge base in MongoDB Atlas.
-
credentialsSecretArn
The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that contains user credentials for your MongoDB Atlas cluster.
- Returns:
- The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that contains user credentials for your MongoDB Atlas cluster.
-
databaseName
The database name in your MongoDB Atlas cluster for your knowledge base.
- Returns:
- The database name in your MongoDB Atlas cluster for your knowledge base.
-
endpoint
The endpoint URL of your MongoDB Atlas cluster for your knowledge base.
- Returns:
- The endpoint URL of your MongoDB Atlas cluster for your knowledge base.
-
endpointServiceName
The name of the VPC endpoint service in your account that is connected to your MongoDB Atlas cluster.
- Returns:
- The name of the VPC endpoint service in your account that is connected to your MongoDB Atlas cluster.
-
fieldMapping
Contains the names of the fields to which to map information about the vector store.
- Returns:
- Contains the names of the fields to which to map information about the vector store.
-
vectorIndexName
The name of the MongoDB Atlas vector search index.
- Returns:
- The name of the MongoDB Atlas vector search index.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<MongoDbAtlasConfiguration.Builder,MongoDbAtlasConfiguration> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-