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

com.pulumi.aws.lex.outputs.V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupMessageImageResponseCard 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.outputs;

import com.pulumi.aws.lex.outputs.V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupMessageImageResponseCardButton;
import com.pulumi.core.annotations.CustomType;
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;

@CustomType
public final class V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupMessageImageResponseCard {
    private @Nullable List buttons;
    private @Nullable String imageUrl;
    private @Nullable String subtitle;
    private String title;

    private V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupMessageImageResponseCard() {}
    public List buttons() {
        return this.buttons == null ? List.of() : this.buttons;
    }
    public Optional imageUrl() {
        return Optional.ofNullable(this.imageUrl);
    }
    public Optional subtitle() {
        return Optional.ofNullable(this.subtitle);
    }
    public String title() {
        return this.title;
    }

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

    public static Builder builder(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupMessageImageResponseCard defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List buttons;
        private @Nullable String imageUrl;
        private @Nullable String subtitle;
        private String title;
        public Builder() {}
        public Builder(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupMessageImageResponseCard defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.buttons = defaults.buttons;
    	      this.imageUrl = defaults.imageUrl;
    	      this.subtitle = defaults.subtitle;
    	      this.title = defaults.title;
        }

        @CustomType.Setter
        public Builder buttons(@Nullable List buttons) {

            this.buttons = buttons;
            return this;
        }
        public Builder buttons(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupMessageImageResponseCardButton... buttons) {
            return buttons(List.of(buttons));
        }
        @CustomType.Setter
        public Builder imageUrl(@Nullable String imageUrl) {

            this.imageUrl = imageUrl;
            return this;
        }
        @CustomType.Setter
        public Builder subtitle(@Nullable String subtitle) {

            this.subtitle = subtitle;
            return this;
        }
        @CustomType.Setter
        public Builder title(String title) {
            if (title == null) {
              throw new MissingRequiredPropertyException("V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupMessageImageResponseCard", "title");
            }
            this.title = title;
            return this;
        }
        public V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupMessageImageResponseCard build() {
            final var _resultValue = new V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupMessageImageResponseCard();
            _resultValue.buttons = buttons;
            _resultValue.imageUrl = imageUrl;
            _resultValue.subtitle = subtitle;
            _resultValue.title = title;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy