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

com.pulumi.aws.lex.inputs.V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationArgs 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.V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseArgs;
import com.pulumi.aws.lex.inputs.V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseArgs;
import com.pulumi.aws.lex.inputs.V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseArgs;
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 V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationArgs extends com.pulumi.resources.ResourceArgs {

    public static final V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationArgs Empty = new V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationArgs();

    /**
     * Specifies whether the bot will wait for a user to respond.
     * When this field is `false`, wait and continue responses for a slot aren't used.
     * If the active field isn't specified, the default is `true`.
     * 
     */
    @Import(name="active")
    private @Nullable Output active;

    /**
     * @return Specifies whether the bot will wait for a user to respond.
     * When this field is `false`, wait and continue responses for a slot aren't used.
     * If the active field isn't specified, the default is `true`.
     * 
     */
    public Optional> active() {
        return Optional.ofNullable(this.active);
    }

    /**
     * Response that Amazon Lex sends to indicate that the bot is ready to continue the conversation.
     * See the `continue_response` argument reference below.
     * 
     */
    @Import(name="continueResponses")
    private @Nullable Output> continueResponses;

    /**
     * @return Response that Amazon Lex sends to indicate that the bot is ready to continue the conversation.
     * See the `continue_response` argument reference below.
     * 
     */
    public Optional>> continueResponses() {
        return Optional.ofNullable(this.continueResponses);
    }

    /**
     * Response that Amazon Lex sends periodically to the user to indicate that the bot is still waiting for input from the user.
     * See the `still_waiting_response` argument reference below.
     * 
     */
    @Import(name="stillWaitingResponses")
    private @Nullable Output> stillWaitingResponses;

    /**
     * @return Response that Amazon Lex sends periodically to the user to indicate that the bot is still waiting for input from the user.
     * See the `still_waiting_response` argument reference below.
     * 
     */
    public Optional>> stillWaitingResponses() {
        return Optional.ofNullable(this.stillWaitingResponses);
    }

    /**
     * Response that Amazon Lex sends to indicate that the bot is waiting for the conversation to continue.
     * See the `waiting_response` argument reference below.
     * 
     */
    @Import(name="waitingResponses")
    private @Nullable Output> waitingResponses;

    /**
     * @return Response that Amazon Lex sends to indicate that the bot is waiting for the conversation to continue.
     * See the `waiting_response` argument reference below.
     * 
     */
    public Optional>> waitingResponses() {
        return Optional.ofNullable(this.waitingResponses);
    }

    private V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationArgs() {}

    private V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationArgs(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationArgs $) {
        this.active = $.active;
        this.continueResponses = $.continueResponses;
        this.stillWaitingResponses = $.stillWaitingResponses;
        this.waitingResponses = $.waitingResponses;
    }

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

    public static final class Builder {
        private V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationArgs $;

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

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

        /**
         * @param active Specifies whether the bot will wait for a user to respond.
         * When this field is `false`, wait and continue responses for a slot aren't used.
         * If the active field isn't specified, the default is `true`.
         * 
         * @return builder
         * 
         */
        public Builder active(@Nullable Output active) {
            $.active = active;
            return this;
        }

        /**
         * @param active Specifies whether the bot will wait for a user to respond.
         * When this field is `false`, wait and continue responses for a slot aren't used.
         * If the active field isn't specified, the default is `true`.
         * 
         * @return builder
         * 
         */
        public Builder active(Boolean active) {
            return active(Output.of(active));
        }

        /**
         * @param continueResponses Response that Amazon Lex sends to indicate that the bot is ready to continue the conversation.
         * See the `continue_response` argument reference below.
         * 
         * @return builder
         * 
         */
        public Builder continueResponses(@Nullable Output> continueResponses) {
            $.continueResponses = continueResponses;
            return this;
        }

        /**
         * @param continueResponses Response that Amazon Lex sends to indicate that the bot is ready to continue the conversation.
         * See the `continue_response` argument reference below.
         * 
         * @return builder
         * 
         */
        public Builder continueResponses(List continueResponses) {
            return continueResponses(Output.of(continueResponses));
        }

        /**
         * @param continueResponses Response that Amazon Lex sends to indicate that the bot is ready to continue the conversation.
         * See the `continue_response` argument reference below.
         * 
         * @return builder
         * 
         */
        public Builder continueResponses(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseArgs... continueResponses) {
            return continueResponses(List.of(continueResponses));
        }

        /**
         * @param stillWaitingResponses Response that Amazon Lex sends periodically to the user to indicate that the bot is still waiting for input from the user.
         * See the `still_waiting_response` argument reference below.
         * 
         * @return builder
         * 
         */
        public Builder stillWaitingResponses(@Nullable Output> stillWaitingResponses) {
            $.stillWaitingResponses = stillWaitingResponses;
            return this;
        }

        /**
         * @param stillWaitingResponses Response that Amazon Lex sends periodically to the user to indicate that the bot is still waiting for input from the user.
         * See the `still_waiting_response` argument reference below.
         * 
         * @return builder
         * 
         */
        public Builder stillWaitingResponses(List stillWaitingResponses) {
            return stillWaitingResponses(Output.of(stillWaitingResponses));
        }

        /**
         * @param stillWaitingResponses Response that Amazon Lex sends periodically to the user to indicate that the bot is still waiting for input from the user.
         * See the `still_waiting_response` argument reference below.
         * 
         * @return builder
         * 
         */
        public Builder stillWaitingResponses(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseArgs... stillWaitingResponses) {
            return stillWaitingResponses(List.of(stillWaitingResponses));
        }

        /**
         * @param waitingResponses Response that Amazon Lex sends to indicate that the bot is waiting for the conversation to continue.
         * See the `waiting_response` argument reference below.
         * 
         * @return builder
         * 
         */
        public Builder waitingResponses(@Nullable Output> waitingResponses) {
            $.waitingResponses = waitingResponses;
            return this;
        }

        /**
         * @param waitingResponses Response that Amazon Lex sends to indicate that the bot is waiting for the conversation to continue.
         * See the `waiting_response` argument reference below.
         * 
         * @return builder
         * 
         */
        public Builder waitingResponses(List waitingResponses) {
            return waitingResponses(Output.of(waitingResponses));
        }

        /**
         * @param waitingResponses Response that Amazon Lex sends to indicate that the bot is waiting for the conversation to continue.
         * See the `waiting_response` argument reference below.
         * 
         * @return builder
         * 
         */
        public Builder waitingResponses(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseArgs... waitingResponses) {
            return waitingResponses(List.of(waitingResponses));
        }

        public V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy