Class CfnKnowledgeBasePropsMixin.PineconeConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnKnowledgeBasePropsMixin.PineconeConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.PineconeConfigurationProperty>
- Enclosing interface:
CfnKnowledgeBasePropsMixin.PineconeConfigurationProperty
@Stability(Stable)
public static final class CfnKnowledgeBasePropsMixin.PineconeConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.PineconeConfigurationProperty>
A builder for
CfnKnowledgeBasePropsMixin.PineconeConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.connectionString(String connectionString) credentialsSecretArn(String credentialsSecretArn) fieldMapping(IResolvable fieldMapping) Sets the value ofCfnKnowledgeBasePropsMixin.PineconeConfigurationProperty.getNamespace()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
connectionString
@Stability(Stable) public CfnKnowledgeBasePropsMixin.PineconeConfigurationProperty.Builder connectionString(String connectionString) - Parameters:
connectionString- The endpoint URL for your index management page.- Returns:
this
-
credentialsSecretArn
@Stability(Stable) public CfnKnowledgeBasePropsMixin.PineconeConfigurationProperty.Builder credentialsSecretArn(String credentialsSecretArn) Sets the value ofCfnKnowledgeBasePropsMixin.PineconeConfigurationProperty.getCredentialsSecretArn()- Parameters:
credentialsSecretArn- The Amazon Resource Name (ARN) of the secret that you created in AWS Secrets Manager that is linked to your Pinecone API key.- Returns:
this
-
fieldMapping
@Stability(Stable) public CfnKnowledgeBasePropsMixin.PineconeConfigurationProperty.Builder fieldMapping(IResolvable fieldMapping) - Parameters:
fieldMapping- Contains the names of the fields to which to map information about the vector store.- Returns:
this
-
fieldMapping
@Stability(Stable) public CfnKnowledgeBasePropsMixin.PineconeConfigurationProperty.Builder fieldMapping(CfnKnowledgeBasePropsMixin.PineconeFieldMappingProperty fieldMapping) - Parameters:
fieldMapping- Contains the names of the fields to which to map information about the vector store.- Returns:
this
-
namespace
@Stability(Stable) public CfnKnowledgeBasePropsMixin.PineconeConfigurationProperty.Builder namespace(String namespace) Sets the value ofCfnKnowledgeBasePropsMixin.PineconeConfigurationProperty.getNamespace()- Parameters:
namespace- The namespace to be used to write new data to your database.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.PineconeConfigurationProperty>- Returns:
- a new instance of
CfnKnowledgeBasePropsMixin.PineconeConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-