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

com.pulumi.aws.lex.inputs.V2modelsSlotValueElicitationSettingSampleUtteranceArgs 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.lex.inputs;

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 V2modelsSlotValueElicitationSettingSampleUtteranceArgs extends com.pulumi.resources.ResourceArgs {

    public static final V2modelsSlotValueElicitationSettingSampleUtteranceArgs Empty = new V2modelsSlotValueElicitationSettingSampleUtteranceArgs();

    /**
     * The sample utterance that Amazon Lex uses to build its machine-learning model to recognize intents.
     * 
     */
    @Import(name="utterance", required=true)
    private Output utterance;

    /**
     * @return The sample utterance that Amazon Lex uses to build its machine-learning model to recognize intents.
     * 
     */
    public Output utterance() {
        return this.utterance;
    }

    private V2modelsSlotValueElicitationSettingSampleUtteranceArgs() {}

    private V2modelsSlotValueElicitationSettingSampleUtteranceArgs(V2modelsSlotValueElicitationSettingSampleUtteranceArgs $) {
        this.utterance = $.utterance;
    }

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

    public static final class Builder {
        private V2modelsSlotValueElicitationSettingSampleUtteranceArgs $;

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

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

        /**
         * @param utterance The sample utterance that Amazon Lex uses to build its machine-learning model to recognize intents.
         * 
         * @return builder
         * 
         */
        public Builder utterance(Output utterance) {
            $.utterance = utterance;
            return this;
        }

        /**
         * @param utterance The sample utterance that Amazon Lex uses to build its machine-learning model to recognize intents.
         * 
         * @return builder
         * 
         */
        public Builder utterance(String utterance) {
            return utterance(Output.of(utterance));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy