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

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


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

    public static final IntentFollowUpPromptRejectionStatementArgs Empty = new IntentFollowUpPromptRejectionStatementArgs();

    @Import(name="messages", required=true)
    private Output> messages;

    public Output> messages() {
        return this.messages;
    }

    @Import(name="responseCard")
    private @Nullable Output responseCard;

    public Optional> responseCard() {
        return Optional.ofNullable(this.responseCard);
    }

    private IntentFollowUpPromptRejectionStatementArgs() {}

    private IntentFollowUpPromptRejectionStatementArgs(IntentFollowUpPromptRejectionStatementArgs $) {
        this.messages = $.messages;
        this.responseCard = $.responseCard;
    }

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

    public static final class Builder {
        private IntentFollowUpPromptRejectionStatementArgs $;

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

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

        public Builder messages(Output> messages) {
            $.messages = messages;
            return this;
        }

        public Builder messages(List messages) {
            return messages(Output.of(messages));
        }

        public Builder messages(IntentFollowUpPromptRejectionStatementMessageArgs... messages) {
            return messages(List.of(messages));
        }

        public Builder responseCard(@Nullable Output responseCard) {
            $.responseCard = responseCard;
            return this;
        }

        public Builder responseCard(String responseCard) {
            return responseCard(Output.of(responseCard));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy