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

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

// *** 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.Integer;
import java.util.Objects;


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

    public static final V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs Empty = new V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs();

    /**
     * Time for which a bot waits after the customer stops speaking to assume the utterance is finished.
     * 
     */
    @Import(name="endTimeoutMs", required=true)
    private Output endTimeoutMs;

    /**
     * @return Time for which a bot waits after the customer stops speaking to assume the utterance is finished.
     * 
     */
    public Output endTimeoutMs() {
        return this.endTimeoutMs;
    }

    /**
     * Time for how long Amazon Lex waits before speech input is truncated and the speech is returned to application.
     * 
     */
    @Import(name="maxLengthMs", required=true)
    private Output maxLengthMs;

    /**
     * @return Time for how long Amazon Lex waits before speech input is truncated and the speech is returned to application.
     * 
     */
    public Output maxLengthMs() {
        return this.maxLengthMs;
    }

    private V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs() {}

    private V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs(V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs $) {
        this.endTimeoutMs = $.endTimeoutMs;
        this.maxLengthMs = $.maxLengthMs;
    }

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

    public static final class Builder {
        private V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs $;

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

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

        /**
         * @param endTimeoutMs Time for which a bot waits after the customer stops speaking to assume the utterance is finished.
         * 
         * @return builder
         * 
         */
        public Builder endTimeoutMs(Output endTimeoutMs) {
            $.endTimeoutMs = endTimeoutMs;
            return this;
        }

        /**
         * @param endTimeoutMs Time for which a bot waits after the customer stops speaking to assume the utterance is finished.
         * 
         * @return builder
         * 
         */
        public Builder endTimeoutMs(Integer endTimeoutMs) {
            return endTimeoutMs(Output.of(endTimeoutMs));
        }

        /**
         * @param maxLengthMs Time for how long Amazon Lex waits before speech input is truncated and the speech is returned to application.
         * 
         * @return builder
         * 
         */
        public Builder maxLengthMs(Output maxLengthMs) {
            $.maxLengthMs = maxLengthMs;
            return this;
        }

        /**
         * @param maxLengthMs Time for how long Amazon Lex waits before speech input is truncated and the speech is returned to application.
         * 
         * @return builder
         * 
         */
        public Builder maxLengthMs(Integer maxLengthMs) {
            return maxLengthMs(Output.of(maxLengthMs));
        }

        public V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs build() {
            if ($.endTimeoutMs == null) {
                throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs", "endTimeoutMs");
            }
            if ($.maxLengthMs == null) {
                throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs", "maxLengthMs");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy