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

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

    public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardArgs();

    /**
     * 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardArgs() {}

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

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

    public static final class Builder {
        private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardArgs $;

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

        public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardArgs defaults) {
            $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardArgs(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(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButtonArgs... 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardArgs build() {
            if ($.title == null) {
                throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardArgs", "title");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy