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
Modifier and TypeMethodDescriptionconnectionString
(String connectionString) The endpoint URL for your index management page.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.default PineconeConfiguration.Builder
fieldMapping
(Consumer<PineconeFieldMapping.Builder> fieldMapping) Contains the names of the fields to which to map information about the vector store.fieldMapping
(PineconeFieldMapping fieldMapping) Contains the names of the fields to which to map information about the vector store.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 Details
-
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
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
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.Builder
avoiding the need to create one manually viaPineconeFieldMapping.builder()
.When the
Consumer
completes,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:
-
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.
-