All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.bedrock.inputs.AgentKnowledgeBaseStorageConfigurationPineconeConfigurationArgs Maven / Gradle / Ivy

// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.aws.bedrock.inputs;

import com.pulumi.aws.bedrock.inputs.AgentKnowledgeBaseStorageConfigurationPineconeConfigurationFieldMappingArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class AgentKnowledgeBaseStorageConfigurationPineconeConfigurationArgs extends com.pulumi.resources.ResourceArgs {

    public static final AgentKnowledgeBaseStorageConfigurationPineconeConfigurationArgs Empty = new AgentKnowledgeBaseStorageConfigurationPineconeConfigurationArgs();

    /**
     * Endpoint URL for your index management page.
     * 
     */
    @Import(name="connectionString", required=true)
    private Output connectionString;

    /**
     * @return Endpoint URL for your index management page.
     * 
     */
    public Output connectionString() {
        return this.connectionString;
    }

    /**
     * ARN of the secret that you created in AWS Secrets Manager that is linked to your Pinecone API key.
     * 
     */
    @Import(name="credentialsSecretArn", required=true)
    private Output credentialsSecretArn;

    /**
     * @return ARN of the secret that you created in AWS Secrets Manager that is linked to your Pinecone API key.
     * 
     */
    public Output credentialsSecretArn() {
        return this.credentialsSecretArn;
    }

    /**
     * The names of the fields to which to map information about the vector store. This block supports the following arguments:
     * 
     */
    @Import(name="fieldMapping")
    private @Nullable Output fieldMapping;

    /**
     * @return The names of the fields to which to map information about the vector store. This block supports the following arguments:
     * 
     */
    public Optional> fieldMapping() {
        return Optional.ofNullable(this.fieldMapping);
    }

    /**
     * Namespace to be used to write new data to your database.
     * 
     */
    @Import(name="namespace")
    private @Nullable Output namespace;

    /**
     * @return Namespace to be used to write new data to your database.
     * 
     */
    public Optional> namespace() {
        return Optional.ofNullable(this.namespace);
    }

    private AgentKnowledgeBaseStorageConfigurationPineconeConfigurationArgs() {}

    private AgentKnowledgeBaseStorageConfigurationPineconeConfigurationArgs(AgentKnowledgeBaseStorageConfigurationPineconeConfigurationArgs $) {
        this.connectionString = $.connectionString;
        this.credentialsSecretArn = $.credentialsSecretArn;
        this.fieldMapping = $.fieldMapping;
        this.namespace = $.namespace;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(AgentKnowledgeBaseStorageConfigurationPineconeConfigurationArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private AgentKnowledgeBaseStorageConfigurationPineconeConfigurationArgs $;

        public Builder() {
            $ = new AgentKnowledgeBaseStorageConfigurationPineconeConfigurationArgs();
        }

        public Builder(AgentKnowledgeBaseStorageConfigurationPineconeConfigurationArgs defaults) {
            $ = new AgentKnowledgeBaseStorageConfigurationPineconeConfigurationArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param connectionString Endpoint URL for your index management page.
         * 
         * @return builder
         * 
         */
        public Builder connectionString(Output connectionString) {
            $.connectionString = connectionString;
            return this;
        }

        /**
         * @param connectionString Endpoint URL for your index management page.
         * 
         * @return builder
         * 
         */
        public Builder connectionString(String connectionString) {
            return connectionString(Output.of(connectionString));
        }

        /**
         * @param credentialsSecretArn ARN of the secret that you created in AWS Secrets Manager that is linked to your Pinecone API key.
         * 
         * @return builder
         * 
         */
        public Builder credentialsSecretArn(Output credentialsSecretArn) {
            $.credentialsSecretArn = credentialsSecretArn;
            return this;
        }

        /**
         * @param credentialsSecretArn ARN of the secret that you created in AWS Secrets Manager that is linked to your Pinecone API key.
         * 
         * @return builder
         * 
         */
        public Builder credentialsSecretArn(String credentialsSecretArn) {
            return credentialsSecretArn(Output.of(credentialsSecretArn));
        }

        /**
         * @param fieldMapping The names of the fields to which to map information about the vector store. This block supports the following arguments:
         * 
         * @return builder
         * 
         */
        public Builder fieldMapping(@Nullable Output fieldMapping) {
            $.fieldMapping = fieldMapping;
            return this;
        }

        /**
         * @param fieldMapping The names of the fields to which to map information about the vector store. This block supports the following arguments:
         * 
         * @return builder
         * 
         */
        public Builder fieldMapping(AgentKnowledgeBaseStorageConfigurationPineconeConfigurationFieldMappingArgs fieldMapping) {
            return fieldMapping(Output.of(fieldMapping));
        }

        /**
         * @param namespace Namespace to be used to write new data to your database.
         * 
         * @return builder
         * 
         */
        public Builder namespace(@Nullable Output namespace) {
            $.namespace = namespace;
            return this;
        }

        /**
         * @param namespace Namespace to be used to write new data to your database.
         * 
         * @return builder
         * 
         */
        public Builder namespace(String namespace) {
            return namespace(Output.of(namespace));
        }

        public AgentKnowledgeBaseStorageConfigurationPineconeConfigurationArgs build() {
            if ($.connectionString == null) {
                throw new MissingRequiredPropertyException("AgentKnowledgeBaseStorageConfigurationPineconeConfigurationArgs", "connectionString");
            }
            if ($.credentialsSecretArn == null) {
                throw new MissingRequiredPropertyException("AgentKnowledgeBaseStorageConfigurationPineconeConfigurationArgs", "credentialsSecretArn");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy