// *** 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.lex.inputs;

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


public final class GetBotArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetBotArgs Empty = new GetBotArgs();

    /**
     * Name of the bot. The name is case sensitive.
     * 
     */
    @Import(name="name", required=true)
    private Output<String> name;

    /**
     * @return Name of the bot. The name is case sensitive.
     * 
     */
    public Output<String> name() {
        return this.name;
    }

    /**
     * Version or alias of the bot.
     * 
     */
    @Import(name="version")
    private @Nullable Output<String> version;

    /**
     * @return Version or alias of the bot.
     * 
     */
    public Optional<Output<String>> version() {
        return Optional.ofNullable(this.version);
    }

    private GetBotArgs() {}

    private GetBotArgs(GetBotArgs $) {
        this.name = $.name;
        this.version = $.version;
    }

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

    public static final class Builder {
        private GetBotArgs $;

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

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

        /**
         * @param name Name of the bot. The name is case sensitive.
         * 
         * @return builder
         * 
         */
        public Builder name(Output<String> name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Name of the bot. The name is case sensitive.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param version Version or alias of the bot.
         * 
         * @return builder
         * 
         */
        public Builder version(@Nullable Output<String> version) {
            $.version = version;
            return this;
        }

        /**
         * @param version Version or alias of the bot.
         * 
         * @return builder
         * 
         */
        public Builder version(String version) {
            return version(Output.of(version));
        }

        public GetBotArgs build() {
            $.name = Objects.requireNonNull($.name, "expected parameter 'name' to be non-null");
            return $;
        }
    }

}
