Interface MongoDbAtlasConfiguration.Builder

    • Method Detail

      • collectionName

        MongoDbAtlasConfiguration.Builder collectionName​(String collectionName)

        The collection name of the knowledge base in MongoDB Atlas.

        Parameters:
        collectionName - The collection name of the knowledge base in MongoDB Atlas.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • credentialsSecretArn

        MongoDbAtlasConfiguration.Builder credentialsSecretArn​(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.

        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.
      • databaseName

        MongoDbAtlasConfiguration.Builder databaseName​(String databaseName)

        The database name in your MongoDB Atlas cluster for your knowledge base.

        Parameters:
        databaseName - The database name in your MongoDB Atlas cluster for your knowledge base.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • endpoint

        MongoDbAtlasConfiguration.Builder endpoint​(String endpoint)

        The endpoint URL of your MongoDB Atlas cluster for your knowledge base.

        Parameters:
        endpoint - The endpoint URL of your MongoDB Atlas cluster for your knowledge base.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • endpointServiceName

        MongoDbAtlasConfiguration.Builder endpointServiceName​(String endpointServiceName)

        The name of the VPC endpoint service in your account that is connected to your MongoDB Atlas cluster.

        Parameters:
        endpointServiceName - The name of the VPC endpoint service in your account that is connected to your MongoDB Atlas cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • fieldMapping

        MongoDbAtlasConfiguration.Builder fieldMapping​(MongoDbAtlasFieldMapping fieldMapping)

        Contains the names of the fields to which to map information about the vector store.

        Parameters:
        fieldMapping - Contains the names of the fields to which to map information about the vector store.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • vectorIndexName

        MongoDbAtlasConfiguration.Builder vectorIndexName​(String vectorIndexName)

        The name of the MongoDB Atlas vector search index.

        Parameters:
        vectorIndexName - The name of the MongoDB Atlas vector search index.
        Returns:
        Returns a reference to this object so that method calls can be chained together.