Interface PineconeConfiguration.Builder

All Superinterfaces:
Buildable, CopyableBuilder<PineconeConfiguration.Builder,PineconeConfiguration>, SdkBuilder<PineconeConfiguration.Builder,PineconeConfiguration>, SdkPojo
Enclosing class:
PineconeConfiguration

public static interface PineconeConfiguration.Builder extends SdkPojo, CopyableBuilder<PineconeConfiguration.Builder,PineconeConfiguration>
  • Method Details

    • connectionString

      PineconeConfiguration.Builder connectionString(String connectionString)

      The endpoint URL for your index management page.

      Parameters:
      connectionString - The endpoint URL for your index management page.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • credentialsSecretArn

      PineconeConfiguration.Builder credentialsSecretArn(String credentialsSecretArn)

      The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that is linked to your Pinecone API key.

      Parameters:
      credentialsSecretArn - The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that is linked to your Pinecone API key.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.
    • fieldMapping

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

      This is a convenience method that creates an instance of the PineconeFieldMapping.Builder avoiding the need to create one manually via PineconeFieldMapping.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to fieldMapping(PineconeFieldMapping).

      Parameters:
      fieldMapping - a consumer that will call methods on PineconeFieldMapping.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • namespace

      PineconeConfiguration.Builder namespace(String namespace)

      The namespace to be used to write new data to your database.

      Parameters:
      namespace - The namespace to be used to write new data to your database.
      Returns:
      Returns a reference to this object so that method calls can be chained together.