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

com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepDialogActionArgs 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.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepDialogActionArgs Empty = new V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepDialogActionArgs();

    /**
     * If the dialog action is `ElicitSlot`, defines the slot to elicit from the user.
     * 
     */
    @Import(name="slotToElicit")
    private @Nullable Output slotToElicit;

    /**
     * @return If the dialog action is `ElicitSlot`, defines the slot to elicit from the user.
     * 
     */
    public Optional> slotToElicit() {
        return Optional.ofNullable(this.slotToElicit);
    }

    /**
     * Whether the next message for the intent is _not_ used.
     * 
     */
    @Import(name="suppressNextMessage")
    private @Nullable Output suppressNextMessage;

    /**
     * @return Whether the next message for the intent is _not_ used.
     * 
     */
    public Optional> suppressNextMessage() {
        return Optional.ofNullable(this.suppressNextMessage);
    }

    /**
     * Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`.
     * 
     */
    @Import(name="type", required=true)
    private Output type;

    /**
     * @return Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`.
     * 
     */
    public Output type() {
        return this.type;
    }

    private V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepDialogActionArgs() {}

    private V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepDialogActionArgs(V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepDialogActionArgs $) {
        this.slotToElicit = $.slotToElicit;
        this.suppressNextMessage = $.suppressNextMessage;
        this.type = $.type;
    }

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

    public static final class Builder {
        private V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepDialogActionArgs $;

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

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

        /**
         * @param slotToElicit If the dialog action is `ElicitSlot`, defines the slot to elicit from the user.
         * 
         * @return builder
         * 
         */
        public Builder slotToElicit(@Nullable Output slotToElicit) {
            $.slotToElicit = slotToElicit;
            return this;
        }

        /**
         * @param slotToElicit If the dialog action is `ElicitSlot`, defines the slot to elicit from the user.
         * 
         * @return builder
         * 
         */
        public Builder slotToElicit(String slotToElicit) {
            return slotToElicit(Output.of(slotToElicit));
        }

        /**
         * @param suppressNextMessage Whether the next message for the intent is _not_ used.
         * 
         * @return builder
         * 
         */
        public Builder suppressNextMessage(@Nullable Output suppressNextMessage) {
            $.suppressNextMessage = suppressNextMessage;
            return this;
        }

        /**
         * @param suppressNextMessage Whether the next message for the intent is _not_ used.
         * 
         * @return builder
         * 
         */
        public Builder suppressNextMessage(Boolean suppressNextMessage) {
            return suppressNextMessage(Output.of(suppressNextMessage));
        }

        /**
         * @param type Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`.
         * 
         * @return builder
         * 
         */
        public Builder type(Output type) {
            $.type = type;
            return this;
        }

        /**
         * @param type Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`.
         * 
         * @return builder
         * 
         */
        public Builder type(String type) {
            return type(Output.of(type));
        }

        public V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepDialogActionArgs build() {
            if ($.type == null) {
                throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepDialogActionArgs", "type");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy