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

com.pulumi.aws.lex.inputs.GetBotAliasPlainArgs 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.lex.inputs;

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


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

    public static final GetBotAliasPlainArgs Empty = new GetBotAliasPlainArgs();

    /**
     * Name of the bot.
     * 
     */
    @Import(name="botName", required=true)
    private String botName;

    /**
     * @return Name of the bot.
     * 
     */
    public String botName() {
        return this.botName;
    }

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

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

    private GetBotAliasPlainArgs() {}

    private GetBotAliasPlainArgs(GetBotAliasPlainArgs $) {
        this.botName = $.botName;
        this.name = $.name;
    }

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

    public static final class Builder {
        private GetBotAliasPlainArgs $;

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

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

        /**
         * @param botName Name of the bot.
         * 
         * @return builder
         * 
         */
        public Builder botName(String botName) {
            $.botName = botName;
            return this;
        }

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

        public GetBotAliasPlainArgs build() {
            if ($.botName == null) {
                throw new MissingRequiredPropertyException("GetBotAliasPlainArgs", "botName");
            }
            if ($.name == null) {
                throw new MissingRequiredPropertyException("GetBotAliasPlainArgs", "name");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy