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

com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponse 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.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroup;
import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponse {
    /**
     * @return Whether the user can interrupt a speech response from Amazon Lex.
     * 
     */
    private @Nullable Boolean allowInterrupt;
    /**
     * @return Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`.
     * 
     */
    private @Nullable List messageGroups;

    private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponse() {}
    /**
     * @return Whether the user can interrupt a speech response from Amazon Lex.
     * 
     */
    public Optional allowInterrupt() {
        return Optional.ofNullable(this.allowInterrupt);
    }
    /**
     * @return Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`.
     * 
     */
    public List messageGroups() {
        return this.messageGroups == null ? List.of() : this.messageGroups;
    }

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

    public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Boolean allowInterrupt;
        private @Nullable List messageGroups;
        public Builder() {}
        public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.allowInterrupt = defaults.allowInterrupt;
    	      this.messageGroups = defaults.messageGroups;
        }

        @CustomType.Setter
        public Builder allowInterrupt(@Nullable Boolean allowInterrupt) {

            this.allowInterrupt = allowInterrupt;
            return this;
        }
        @CustomType.Setter
        public Builder messageGroups(@Nullable List messageGroups) {

            this.messageGroups = messageGroups;
            return this;
        }
        public Builder messageGroups(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroup... messageGroups) {
            return messageGroups(List.of(messageGroups));
        }
        public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponse build() {
            final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponse();
            _resultValue.allowInterrupt = allowInterrupt;
            _resultValue.messageGroups = messageGroups;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy