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

com.pulumi.aws.connect.inputs.GetBotAssociationArgs 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.connect.inputs;

import com.pulumi.aws.connect.inputs.GetBotAssociationLexBotArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


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

    public static final GetBotAssociationArgs Empty = new GetBotAssociationArgs();

    /**
     * Identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
     * 
     */
    @Import(name="instanceId", required=true)
    private Output instanceId;

    /**
     * @return Identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
     * 
     */
    public Output instanceId() {
        return this.instanceId;
    }

    /**
     * Configuration information of an Amazon Lex (V1) bot. Detailed below.
     * 
     */
    @Import(name="lexBot", required=true)
    private Output lexBot;

    /**
     * @return Configuration information of an Amazon Lex (V1) bot. Detailed below.
     * 
     */
    public Output lexBot() {
        return this.lexBot;
    }

    private GetBotAssociationArgs() {}

    private GetBotAssociationArgs(GetBotAssociationArgs $) {
        this.instanceId = $.instanceId;
        this.lexBot = $.lexBot;
    }

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

    public static final class Builder {
        private GetBotAssociationArgs $;

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

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

        /**
         * @param instanceId Identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
         * 
         * @return builder
         * 
         */
        public Builder instanceId(Output instanceId) {
            $.instanceId = instanceId;
            return this;
        }

        /**
         * @param instanceId Identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
         * 
         * @return builder
         * 
         */
        public Builder instanceId(String instanceId) {
            return instanceId(Output.of(instanceId));
        }

        /**
         * @param lexBot Configuration information of an Amazon Lex (V1) bot. Detailed below.
         * 
         * @return builder
         * 
         */
        public Builder lexBot(Output lexBot) {
            $.lexBot = lexBot;
            return this;
        }

        /**
         * @param lexBot Configuration information of an Amazon Lex (V1) bot. Detailed below.
         * 
         * @return builder
         * 
         */
        public Builder lexBot(GetBotAssociationLexBotArgs lexBot) {
            return lexBot(Output.of(lexBot));
        }

        public GetBotAssociationArgs build() {
            if ($.instanceId == null) {
                throw new MissingRequiredPropertyException("GetBotAssociationArgs", "instanceId");
            }
            if ($.lexBot == null) {
                throw new MissingRequiredPropertyException("GetBotAssociationArgs", "lexBot");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy