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

com.pulumi.aws.kendra.inputs.ExperienceConfigurationContentSourceConfigurationArgs 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.kendra.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ExperienceConfigurationContentSourceConfigurationArgs Empty = new ExperienceConfigurationContentSourceConfigurationArgs();

    /**
     * The identifiers of the data sources you want to use for your Amazon Kendra experience. Maximum number of 100 items.
     * 
     */
    @Import(name="dataSourceIds")
    private @Nullable Output> dataSourceIds;

    /**
     * @return The identifiers of the data sources you want to use for your Amazon Kendra experience. Maximum number of 100 items.
     * 
     */
    public Optional>> dataSourceIds() {
        return Optional.ofNullable(this.dataSourceIds);
    }

    /**
     * Whether to use documents you indexed directly using the `BatchPutDocument API`. Defaults to `false`.
     * 
     */
    @Import(name="directPutContent")
    private @Nullable Output directPutContent;

    /**
     * @return Whether to use documents you indexed directly using the `BatchPutDocument API`. Defaults to `false`.
     * 
     */
    public Optional> directPutContent() {
        return Optional.ofNullable(this.directPutContent);
    }

    /**
     * The identifier of the FAQs that you want to use for your Amazon Kendra experience. Maximum number of 100 items.
     * 
     */
    @Import(name="faqIds")
    private @Nullable Output> faqIds;

    /**
     * @return The identifier of the FAQs that you want to use for your Amazon Kendra experience. Maximum number of 100 items.
     * 
     */
    public Optional>> faqIds() {
        return Optional.ofNullable(this.faqIds);
    }

    private ExperienceConfigurationContentSourceConfigurationArgs() {}

    private ExperienceConfigurationContentSourceConfigurationArgs(ExperienceConfigurationContentSourceConfigurationArgs $) {
        this.dataSourceIds = $.dataSourceIds;
        this.directPutContent = $.directPutContent;
        this.faqIds = $.faqIds;
    }

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

    public static final class Builder {
        private ExperienceConfigurationContentSourceConfigurationArgs $;

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

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

        /**
         * @param dataSourceIds The identifiers of the data sources you want to use for your Amazon Kendra experience. Maximum number of 100 items.
         * 
         * @return builder
         * 
         */
        public Builder dataSourceIds(@Nullable Output> dataSourceIds) {
            $.dataSourceIds = dataSourceIds;
            return this;
        }

        /**
         * @param dataSourceIds The identifiers of the data sources you want to use for your Amazon Kendra experience. Maximum number of 100 items.
         * 
         * @return builder
         * 
         */
        public Builder dataSourceIds(List dataSourceIds) {
            return dataSourceIds(Output.of(dataSourceIds));
        }

        /**
         * @param dataSourceIds The identifiers of the data sources you want to use for your Amazon Kendra experience. Maximum number of 100 items.
         * 
         * @return builder
         * 
         */
        public Builder dataSourceIds(String... dataSourceIds) {
            return dataSourceIds(List.of(dataSourceIds));
        }

        /**
         * @param directPutContent Whether to use documents you indexed directly using the `BatchPutDocument API`. Defaults to `false`.
         * 
         * @return builder
         * 
         */
        public Builder directPutContent(@Nullable Output directPutContent) {
            $.directPutContent = directPutContent;
            return this;
        }

        /**
         * @param directPutContent Whether to use documents you indexed directly using the `BatchPutDocument API`. Defaults to `false`.
         * 
         * @return builder
         * 
         */
        public Builder directPutContent(Boolean directPutContent) {
            return directPutContent(Output.of(directPutContent));
        }

        /**
         * @param faqIds The identifier of the FAQs that you want to use for your Amazon Kendra experience. Maximum number of 100 items.
         * 
         * @return builder
         * 
         */
        public Builder faqIds(@Nullable Output> faqIds) {
            $.faqIds = faqIds;
            return this;
        }

        /**
         * @param faqIds The identifier of the FAQs that you want to use for your Amazon Kendra experience. Maximum number of 100 items.
         * 
         * @return builder
         * 
         */
        public Builder faqIds(List faqIds) {
            return faqIds(Output.of(faqIds));
        }

        /**
         * @param faqIds The identifier of the FAQs that you want to use for your Amazon Kendra experience. Maximum number of 100 items.
         * 
         * @return builder
         * 
         */
        public Builder faqIds(String... faqIds) {
            return faqIds(List.of(faqIds));
        }

        public ExperienceConfigurationContentSourceConfigurationArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy