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

com.pulumi.aws.bedrock.outputs.AgentKnowledgeBaseStorageConfigurationRdsConfigurationFieldMapping Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.60.0-alpha.1731982519
Show newest version
// *** 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.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class AgentKnowledgeBaseStorageConfigurationRdsConfigurationFieldMapping {
    /**
     * @return Name of the field in which Amazon Bedrock stores metadata about the vector store.
     * 
     */
    private String metadataField;
    /**
     * @return Name of the field in which Amazon Bedrock stores the ID for each entry.
     * 
     */
    private String primaryKeyField;
    /**
     * @return Name of the field in which Amazon Bedrock stores the raw text from your data. The text is split according to the chunking strategy you choose.
     * 
     */
    private String textField;
    /**
     * @return Name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.
     * 
     */
    private String vectorField;

    private AgentKnowledgeBaseStorageConfigurationRdsConfigurationFieldMapping() {}
    /**
     * @return Name of the field in which Amazon Bedrock stores metadata about the vector store.
     * 
     */
    public String metadataField() {
        return this.metadataField;
    }
    /**
     * @return Name of the field in which Amazon Bedrock stores the ID for each entry.
     * 
     */
    public String primaryKeyField() {
        return this.primaryKeyField;
    }
    /**
     * @return Name of the field in which Amazon Bedrock stores the raw text from your data. The text is split according to the chunking strategy you choose.
     * 
     */
    public String textField() {
        return this.textField;
    }
    /**
     * @return Name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.
     * 
     */
    public String vectorField() {
        return this.vectorField;
    }

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

    public static Builder builder(AgentKnowledgeBaseStorageConfigurationRdsConfigurationFieldMapping defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String metadataField;
        private String primaryKeyField;
        private String textField;
        private String vectorField;
        public Builder() {}
        public Builder(AgentKnowledgeBaseStorageConfigurationRdsConfigurationFieldMapping defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.metadataField = defaults.metadataField;
    	      this.primaryKeyField = defaults.primaryKeyField;
    	      this.textField = defaults.textField;
    	      this.vectorField = defaults.vectorField;
        }

        @CustomType.Setter
        public Builder metadataField(String metadataField) {
            if (metadataField == null) {
              throw new MissingRequiredPropertyException("AgentKnowledgeBaseStorageConfigurationRdsConfigurationFieldMapping", "metadataField");
            }
            this.metadataField = metadataField;
            return this;
        }
        @CustomType.Setter
        public Builder primaryKeyField(String primaryKeyField) {
            if (primaryKeyField == null) {
              throw new MissingRequiredPropertyException("AgentKnowledgeBaseStorageConfigurationRdsConfigurationFieldMapping", "primaryKeyField");
            }
            this.primaryKeyField = primaryKeyField;
            return this;
        }
        @CustomType.Setter
        public Builder textField(String textField) {
            if (textField == null) {
              throw new MissingRequiredPropertyException("AgentKnowledgeBaseStorageConfigurationRdsConfigurationFieldMapping", "textField");
            }
            this.textField = textField;
            return this;
        }
        @CustomType.Setter
        public Builder vectorField(String vectorField) {
            if (vectorField == null) {
              throw new MissingRequiredPropertyException("AgentKnowledgeBaseStorageConfigurationRdsConfigurationFieldMapping", "vectorField");
            }
            this.vectorField = vectorField;
            return this;
        }
        public AgentKnowledgeBaseStorageConfigurationRdsConfigurationFieldMapping build() {
            final var _resultValue = new AgentKnowledgeBaseStorageConfigurationRdsConfigurationFieldMapping();
            _resultValue.metadataField = metadataField;
            _resultValue.primaryKeyField = primaryKeyField;
            _resultValue.textField = textField;
            _resultValue.vectorField = vectorField;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy