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

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

    public static final V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessageImageResponseCardArgs Empty = new V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessageImageResponseCardArgs();

    /**
     * Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.
     * 
     */
    @Import(name="buttons")
    private @Nullable Output> buttons;

    /**
     * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.
     * 
     */
    public Optional>> buttons() {
        return Optional.ofNullable(this.buttons);
    }

    /**
     * URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.
     * 
     */
    @Import(name="imageUrl")
    private @Nullable Output imageUrl;

    /**
     * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.
     * 
     */
    public Optional> imageUrl() {
        return Optional.ofNullable(this.imageUrl);
    }

    /**
     * Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.
     * 
     */
    @Import(name="subtitle")
    private @Nullable Output subtitle;

    /**
     * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.
     * 
     */
    public Optional> subtitle() {
        return Optional.ofNullable(this.subtitle);
    }

    /**
     * Title to display on the response card. The format of the title is determined by the platform displaying the response card.
     * 
     */
    @Import(name="title", required=true)
    private Output title;

    /**
     * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card.
     * 
     */
    public Output title() {
        return this.title;
    }

    private V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessageImageResponseCardArgs() {}

    private V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessageImageResponseCardArgs(V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessageImageResponseCardArgs $) {
        this.buttons = $.buttons;
        this.imageUrl = $.imageUrl;
        this.subtitle = $.subtitle;
        this.title = $.title;
    }

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

    public static final class Builder {
        private V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessageImageResponseCardArgs $;

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

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

        /**
         * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.
         * 
         * @return builder
         * 
         */
        public Builder buttons(@Nullable Output> buttons) {
            $.buttons = buttons;
            return this;
        }

        /**
         * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.
         * 
         * @return builder
         * 
         */
        public Builder buttons(List buttons) {
            return buttons(Output.of(buttons));
        }

        /**
         * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.
         * 
         * @return builder
         * 
         */
        public Builder buttons(V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessageImageResponseCardButtonArgs... buttons) {
            return buttons(List.of(buttons));
        }

        /**
         * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.
         * 
         * @return builder
         * 
         */
        public Builder imageUrl(@Nullable Output imageUrl) {
            $.imageUrl = imageUrl;
            return this;
        }

        /**
         * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.
         * 
         * @return builder
         * 
         */
        public Builder imageUrl(String imageUrl) {
            return imageUrl(Output.of(imageUrl));
        }

        /**
         * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.
         * 
         * @return builder
         * 
         */
        public Builder subtitle(@Nullable Output subtitle) {
            $.subtitle = subtitle;
            return this;
        }

        /**
         * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.
         * 
         * @return builder
         * 
         */
        public Builder subtitle(String subtitle) {
            return subtitle(Output.of(subtitle));
        }

        /**
         * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card.
         * 
         * @return builder
         * 
         */
        public Builder title(Output title) {
            $.title = title;
            return this;
        }

        /**
         * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card.
         * 
         * @return builder
         * 
         */
        public Builder title(String title) {
            return title(Output.of(title));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy