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

com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingConditionalDefaultBranchResponseArgs Maven / Gradle / Ivy

Go to download

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

There is a newer version: 6.60.0-alpha.1731982519
Show 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.aws.lex.inputs.V2modelsIntentInitialResponseSettingConditionalDefaultBranchResponseMessageGroupArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final V2modelsIntentInitialResponseSettingConditionalDefaultBranchResponseArgs Empty = new V2modelsIntentInitialResponseSettingConditionalDefaultBranchResponseArgs();

    /**
     * Whether the user can interrupt a speech response from Amazon Lex.
     * 
     */
    @Import(name="allowInterrupt")
    private @Nullable Output allowInterrupt;

    /**
     * @return Whether the user can interrupt a speech response from Amazon Lex.
     * 
     */
    public Optional> allowInterrupt() {
        return Optional.ofNullable(this.allowInterrupt);
    }

    /**
     * Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`.
     * 
     */
    @Import(name="messageGroups")
    private @Nullable Output> messageGroups;

    /**
     * @return Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`.
     * 
     */
    public Optional>> messageGroups() {
        return Optional.ofNullable(this.messageGroups);
    }

    private V2modelsIntentInitialResponseSettingConditionalDefaultBranchResponseArgs() {}

    private V2modelsIntentInitialResponseSettingConditionalDefaultBranchResponseArgs(V2modelsIntentInitialResponseSettingConditionalDefaultBranchResponseArgs $) {
        this.allowInterrupt = $.allowInterrupt;
        this.messageGroups = $.messageGroups;
    }

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

    public static final class Builder {
        private V2modelsIntentInitialResponseSettingConditionalDefaultBranchResponseArgs $;

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

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

        /**
         * @param allowInterrupt Whether the user can interrupt a speech response from Amazon Lex.
         * 
         * @return builder
         * 
         */
        public Builder allowInterrupt(@Nullable Output allowInterrupt) {
            $.allowInterrupt = allowInterrupt;
            return this;
        }

        /**
         * @param allowInterrupt Whether the user can interrupt a speech response from Amazon Lex.
         * 
         * @return builder
         * 
         */
        public Builder allowInterrupt(Boolean allowInterrupt) {
            return allowInterrupt(Output.of(allowInterrupt));
        }

        /**
         * @param messageGroups Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`.
         * 
         * @return builder
         * 
         */
        public Builder messageGroups(@Nullable Output> messageGroups) {
            $.messageGroups = messageGroups;
            return this;
        }

        /**
         * @param messageGroups Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`.
         * 
         * @return builder
         * 
         */
        public Builder messageGroups(List messageGroups) {
            return messageGroups(Output.of(messageGroups));
        }

        /**
         * @param messageGroups Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`.
         * 
         * @return builder
         * 
         */
        public Builder messageGroups(V2modelsIntentInitialResponseSettingConditionalDefaultBranchResponseMessageGroupArgs... messageGroups) {
            return messageGroups(List.of(messageGroups));
        }

        public V2modelsIntentInitialResponseSettingConditionalDefaultBranchResponseArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy