// *** 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.aws.kendra.inputs.ExperienceConfigurationArgs;
import com.pulumi.aws.kendra.inputs.ExperienceEndpointArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ExperienceState Empty = new ExperienceState();

    /**
     * ARN of the Experience.
     * 
     */
    @Import(name="arn")
    private @Nullable Output<String> arn;

    /**
     * @return ARN of the Experience.
     * 
     */
    public Optional<Output<String>> arn() {
        return Optional.ofNullable(this.arn);
    }

    /**
     * Configuration information for your Amazon Kendra experience. The provider will only perform drift detection of its value when present in a configuration. Detailed below.
     * 
     */
    @Import(name="configuration")
    private @Nullable Output<ExperienceConfigurationArgs> configuration;

    /**
     * @return Configuration information for your Amazon Kendra experience. The provider will only perform drift detection of its value when present in a configuration. Detailed below.
     * 
     */
    public Optional<Output<ExperienceConfigurationArgs>> configuration() {
        return Optional.ofNullable(this.configuration);
    }

    /**
     * A description for your Amazon Kendra experience.
     * 
     */
    @Import(name="description")
    private @Nullable Output<String> description;

    /**
     * @return A description for your Amazon Kendra experience.
     * 
     */
    public Optional<Output<String>> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * Shows the endpoint URLs for your Amazon Kendra experiences. The URLs are unique and fully hosted by AWS.
     * 
     */
    @Import(name="endpoints")
    private @Nullable Output<List<ExperienceEndpointArgs>> endpoints;

    /**
     * @return Shows the endpoint URLs for your Amazon Kendra experiences. The URLs are unique and fully hosted by AWS.
     * 
     */
    public Optional<Output<List<ExperienceEndpointArgs>>> endpoints() {
        return Optional.ofNullable(this.endpoints);
    }

    /**
     * The unique identifier of the experience.
     * 
     */
    @Import(name="experienceId")
    private @Nullable Output<String> experienceId;

    /**
     * @return The unique identifier of the experience.
     * 
     */
    public Optional<Output<String>> experienceId() {
        return Optional.ofNullable(this.experienceId);
    }

    /**
     * The identifier of the index for your Amazon Kendra experience.
     * 
     */
    @Import(name="indexId")
    private @Nullable Output<String> indexId;

    /**
     * @return The identifier of the index for your Amazon Kendra experience.
     * 
     */
    public Optional<Output<String>> indexId() {
        return Optional.ofNullable(this.indexId);
    }

    /**
     * A name for your Amazon Kendra experience.
     * 
     */
    @Import(name="name")
    private @Nullable Output<String> name;

    /**
     * @return A name for your Amazon Kendra experience.
     * 
     */
    public Optional<Output<String>> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * The Amazon Resource Name (ARN) of a role with permission to access `Query API`, `QuerySuggestions API`, `SubmitFeedback API`, and `AWS SSO` that stores your user and group information. For more information, see [IAM roles for Amazon Kendra](https://docs.aws.amazon.com/kendra/latest/dg/iam-roles.html).
     * 
     * The following arguments are optional:
     * 
     */
    @Import(name="roleArn")
    private @Nullable Output<String> roleArn;

    /**
     * @return The Amazon Resource Name (ARN) of a role with permission to access `Query API`, `QuerySuggestions API`, `SubmitFeedback API`, and `AWS SSO` that stores your user and group information. For more information, see [IAM roles for Amazon Kendra](https://docs.aws.amazon.com/kendra/latest/dg/iam-roles.html).
     * 
     * The following arguments are optional:
     * 
     */
    public Optional<Output<String>> roleArn() {
        return Optional.ofNullable(this.roleArn);
    }

    /**
     * The current processing status of your Amazon Kendra experience.
     * 
     */
    @Import(name="status")
    private @Nullable Output<String> status;

    /**
     * @return The current processing status of your Amazon Kendra experience.
     * 
     */
    public Optional<Output<String>> status() {
        return Optional.ofNullable(this.status);
    }

    private ExperienceState() {}

    private ExperienceState(ExperienceState $) {
        this.arn = $.arn;
        this.configuration = $.configuration;
        this.description = $.description;
        this.endpoints = $.endpoints;
        this.experienceId = $.experienceId;
        this.indexId = $.indexId;
        this.name = $.name;
        this.roleArn = $.roleArn;
        this.status = $.status;
    }

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

    public static final class Builder {
        private ExperienceState $;

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

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

        /**
         * @param arn ARN of the Experience.
         * 
         * @return builder
         * 
         */
        public Builder arn(@Nullable Output<String> arn) {
            $.arn = arn;
            return this;
        }

        /**
         * @param arn ARN of the Experience.
         * 
         * @return builder
         * 
         */
        public Builder arn(String arn) {
            return arn(Output.of(arn));
        }

        /**
         * @param configuration Configuration information for your Amazon Kendra experience. The provider will only perform drift detection of its value when present in a configuration. Detailed below.
         * 
         * @return builder
         * 
         */
        public Builder configuration(@Nullable Output<ExperienceConfigurationArgs> configuration) {
            $.configuration = configuration;
            return this;
        }

        /**
         * @param configuration Configuration information for your Amazon Kendra experience. The provider will only perform drift detection of its value when present in a configuration. Detailed below.
         * 
         * @return builder
         * 
         */
        public Builder configuration(ExperienceConfigurationArgs configuration) {
            return configuration(Output.of(configuration));
        }

        /**
         * @param description A description for your Amazon Kendra experience.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output<String> description) {
            $.description = description;
            return this;
        }

        /**
         * @param description A description for your Amazon Kendra experience.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param endpoints Shows the endpoint URLs for your Amazon Kendra experiences. The URLs are unique and fully hosted by AWS.
         * 
         * @return builder
         * 
         */
        public Builder endpoints(@Nullable Output<List<ExperienceEndpointArgs>> endpoints) {
            $.endpoints = endpoints;
            return this;
        }

        /**
         * @param endpoints Shows the endpoint URLs for your Amazon Kendra experiences. The URLs are unique and fully hosted by AWS.
         * 
         * @return builder
         * 
         */
        public Builder endpoints(List<ExperienceEndpointArgs> endpoints) {
            return endpoints(Output.of(endpoints));
        }

        /**
         * @param endpoints Shows the endpoint URLs for your Amazon Kendra experiences. The URLs are unique and fully hosted by AWS.
         * 
         * @return builder
         * 
         */
        public Builder endpoints(ExperienceEndpointArgs... endpoints) {
            return endpoints(List.of(endpoints));
        }

        /**
         * @param experienceId The unique identifier of the experience.
         * 
         * @return builder
         * 
         */
        public Builder experienceId(@Nullable Output<String> experienceId) {
            $.experienceId = experienceId;
            return this;
        }

        /**
         * @param experienceId The unique identifier of the experience.
         * 
         * @return builder
         * 
         */
        public Builder experienceId(String experienceId) {
            return experienceId(Output.of(experienceId));
        }

        /**
         * @param indexId The identifier of the index for your Amazon Kendra experience.
         * 
         * @return builder
         * 
         */
        public Builder indexId(@Nullable Output<String> indexId) {
            $.indexId = indexId;
            return this;
        }

        /**
         * @param indexId The identifier of the index for your Amazon Kendra experience.
         * 
         * @return builder
         * 
         */
        public Builder indexId(String indexId) {
            return indexId(Output.of(indexId));
        }

        /**
         * @param name A name for your Amazon Kendra experience.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output<String> name) {
            $.name = name;
            return this;
        }

        /**
         * @param name A name for your Amazon Kendra experience.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param roleArn The Amazon Resource Name (ARN) of a role with permission to access `Query API`, `QuerySuggestions API`, `SubmitFeedback API`, and `AWS SSO` that stores your user and group information. For more information, see [IAM roles for Amazon Kendra](https://docs.aws.amazon.com/kendra/latest/dg/iam-roles.html).
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder roleArn(@Nullable Output<String> roleArn) {
            $.roleArn = roleArn;
            return this;
        }

        /**
         * @param roleArn The Amazon Resource Name (ARN) of a role with permission to access `Query API`, `QuerySuggestions API`, `SubmitFeedback API`, and `AWS SSO` that stores your user and group information. For more information, see [IAM roles for Amazon Kendra](https://docs.aws.amazon.com/kendra/latest/dg/iam-roles.html).
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder roleArn(String roleArn) {
            return roleArn(Output.of(roleArn));
        }

        /**
         * @param status The current processing status of your Amazon Kendra experience.
         * 
         * @return builder
         * 
         */
        public Builder status(@Nullable Output<String> status) {
            $.status = status;
            return this;
        }

        /**
         * @param status The current processing status of your Amazon Kendra experience.
         * 
         * @return builder
         * 
         */
        public Builder status(String status) {
            return status(Output.of(status));
        }

        public ExperienceState build() {
            return $;
        }
    }

}
