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

com.pulumi.aws.lex.outputs.V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroup 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.outputs;

import com.pulumi.aws.lex.outputs.V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessage;
import com.pulumi.aws.lex.outputs.V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariation;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;

@CustomType
public final class V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroup {
    /**
     * @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.
     * 
     */
    private V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessage message;
    /**
     * @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.
     * 
     */
    private @Nullable List variations;

    private V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroup() {}
    /**
     * @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 V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessage message() {
        return this.message;
    }
    /**
     * @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 List variations() {
        return this.variations == null ? List.of() : this.variations;
    }

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

    public static Builder builder(V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroup defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessage message;
        private @Nullable List variations;
        public Builder() {}
        public Builder(V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroup defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.message = defaults.message;
    	      this.variations = defaults.variations;
        }

        @CustomType.Setter
        public Builder message(V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessage message) {
            if (message == null) {
              throw new MissingRequiredPropertyException("V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroup", "message");
            }
            this.message = message;
            return this;
        }
        @CustomType.Setter
        public Builder variations(@Nullable List variations) {

            this.variations = variations;
            return this;
        }
        public Builder variations(V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariation... variations) {
            return variations(List.of(variations));
        }
        public V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroup build() {
            final var _resultValue = new V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroup();
            _resultValue.message = message;
            _resultValue.variations = variations;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy