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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PineconeConfiguration.BuilderconnectionString(String connectionString)The endpoint URL for your index management page.PineconeConfiguration.BuildercredentialsSecretArn(String credentialsSecretArn)The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that is linked to your Pinecone API key.default PineconeConfiguration.BuilderfieldMapping(Consumer<PineconeFieldMapping.Builder> fieldMapping)Contains the names of the fields to which to map information about the vector store.PineconeConfiguration.BuilderfieldMapping(PineconeFieldMapping fieldMapping)Contains the names of the fields to which to map information about the vector store.PineconeConfiguration.Buildernamespace(String namespace)The namespace to be used to write new data to your database.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
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
PineconeConfiguration.Builder fieldMapping(PineconeFieldMapping 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
default PineconeConfiguration.Builder fieldMapping(Consumer<PineconeFieldMapping.Builder> 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 thePineconeFieldMapping.Builderavoiding the need to create one manually viaPineconeFieldMapping.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofieldMapping(PineconeFieldMapping).- Parameters:
fieldMapping- a consumer that will call methods onPineconeFieldMapping.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
fieldMapping(PineconeFieldMapping)
-
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.
-
-