com.pulumi.aws.lex.outputs.V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupMessageImageResponseCard Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
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.V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupMessageImageResponseCardButton;
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 V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupMessageImageResponseCard {
private @Nullable List buttons;
private @Nullable String imageUrl;
private @Nullable String subtitle;
private String title;
private V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupMessageImageResponseCard() {}
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(V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupMessageImageResponseCard 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(V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupMessageImageResponseCard 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(V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupMessageImageResponseCardButton... 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("V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupMessageImageResponseCard", "title");
}
this.title = title;
return this;
}
public V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupMessageImageResponseCard build() {
final var _resultValue = new V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupMessageImageResponseCard();
_resultValue.buttons = buttons;
_resultValue.imageUrl = imageUrl;
_resultValue.subtitle = subtitle;
_resultValue.title = title;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy