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

com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs 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.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 V2modelsIntentInitialResponseSettingConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs extends com.pulumi.resources.ResourceArgs {

    public static final V2modelsIntentInitialResponseSettingConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs Empty = new V2modelsIntentInitialResponseSettingConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs();

    /**
     * Text that appears on the button. Use this to tell the user what value is returned when they choose this button.
     * 
     */
    @Import(name="text", required=true)
    private Output text;

    /**
     * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button.
     * 
     */
    public Output text() {
        return this.text;
    }

    /**
     * Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.
     * 
     */
    @Import(name="value", required=true)
    private Output value;

    /**
     * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.
     * 
     */
    public Output value() {
        return this.value;
    }

    private V2modelsIntentInitialResponseSettingConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs() {}

    private V2modelsIntentInitialResponseSettingConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs(V2modelsIntentInitialResponseSettingConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs $) {
        this.text = $.text;
        this.value = $.value;
    }

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

    public static final class Builder {
        private V2modelsIntentInitialResponseSettingConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs $;

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

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

        /**
         * @param text Text that appears on the button. Use this to tell the user what value is returned when they choose this button.
         * 
         * @return builder
         * 
         */
        public Builder text(Output text) {
            $.text = text;
            return this;
        }

        /**
         * @param text Text that appears on the button. Use this to tell the user what value is returned when they choose this button.
         * 
         * @return builder
         * 
         */
        public Builder text(String text) {
            return text(Output.of(text));
        }

        /**
         * @param value Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.
         * 
         * @return builder
         * 
         */
        public Builder value(Output value) {
            $.value = value;
            return this;
        }

        /**
         * @param value Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.
         * 
         * @return builder
         * 
         */
        public Builder value(String value) {
            return value(Output.of(value));
        }

        public V2modelsIntentInitialResponseSettingConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs build() {
            if ($.text == null) {
                throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs", "text");
            }
            if ($.value == null) {
                throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs", "value");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy