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

com.pulumi.aws.lex.inputs.V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupArgs 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.aws.lex.inputs.V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupMessageArgs;
import com.pulumi.aws.lex.inputs.V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupVariationArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupArgs Empty = new V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupArgs();

    /**
     * Configuration block for the primary message that Amazon Lex should send to the user.
     * See the `aws.lex.V2modelsIntent` resource for details on the `message` argument reference - they are identical.
     * 
     */
    @Import(name="message", required=true)
    private Output message;

    /**
     * @return Configuration block for the primary message that Amazon Lex should send to the user.
     * See the `aws.lex.V2modelsIntent` resource for details on the `message` argument reference - they are identical.
     * 
     */
    public Output message() {
        return this.message;
    }

    /**
     * Configuration blocks for message variations to send to the user.
     * When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user.
     * See the `aws.lex.V2modelsIntent` resource for details on the `variation` argument reference - they are identical.
     * 
     */
    @Import(name="variations")
    private @Nullable Output> variations;

    /**
     * @return Configuration blocks for message variations to send to the user.
     * When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user.
     * See the `aws.lex.V2modelsIntent` resource for details on the `variation` argument reference - they are identical.
     * 
     */
    public Optional>> variations() {
        return Optional.ofNullable(this.variations);
    }

    private V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupArgs() {}

    private V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupArgs(V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupArgs $) {
        this.message = $.message;
        this.variations = $.variations;
    }

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

    public static final class Builder {
        private V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupArgs $;

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

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

        /**
         * @param message Configuration block for the primary message that Amazon Lex should send to the user.
         * See the `aws.lex.V2modelsIntent` resource for details on the `message` argument reference - they are identical.
         * 
         * @return builder
         * 
         */
        public Builder message(Output message) {
            $.message = message;
            return this;
        }

        /**
         * @param message Configuration block for the primary message that Amazon Lex should send to the user.
         * See the `aws.lex.V2modelsIntent` resource for details on the `message` argument reference - they are identical.
         * 
         * @return builder
         * 
         */
        public Builder message(V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupMessageArgs message) {
            return message(Output.of(message));
        }

        /**
         * @param variations Configuration blocks for message variations to send to the user.
         * When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user.
         * See the `aws.lex.V2modelsIntent` resource for details on the `variation` argument reference - they are identical.
         * 
         * @return builder
         * 
         */
        public Builder variations(@Nullable Output> variations) {
            $.variations = variations;
            return this;
        }

        /**
         * @param variations Configuration blocks for message variations to send to the user.
         * When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user.
         * See the `aws.lex.V2modelsIntent` resource for details on the `variation` argument reference - they are identical.
         * 
         * @return builder
         * 
         */
        public Builder variations(List variations) {
            return variations(Output.of(variations));
        }

        /**
         * @param variations Configuration blocks for message variations to send to the user.
         * When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user.
         * See the `aws.lex.V2modelsIntent` resource for details on the `variation` argument reference - they are identical.
         * 
         * @return builder
         * 
         */
        public Builder variations(V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupVariationArgs... variations) {
            return variations(List.of(variations));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy