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

com.pulumi.aws.kendra.inputs.ExperienceState Maven / Gradle / Ivy

Go to download

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

The 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.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 arn;

    /**
     * @return ARN of the Experience.
     * 
     */
    public Optional> 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 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> configuration() {
        return Optional.ofNullable(this.configuration);
    }

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

    /**
     * @return A description for your Amazon Kendra experience.
     * 
     */
    public Optional> 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> endpoints;

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

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

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

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

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

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

    /**
     * @return A name for your Amazon Kendra experience.
     * 
     */
    public Optional> 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 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> roleArn() {
        return Optional.ofNullable(this.roleArn);
    }

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

    /**
     * @return The current processing status of your Amazon Kendra experience.
     * 
     */
    public Optional> 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 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 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 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> 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 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 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 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 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 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 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 $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy