@Stability(value=Stable)
public static interface CfnBot.ImageResponseCardProperty
extends software.amazon.jsii.JsiiSerializable
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.lex.*;
ImageResponseCardProperty imageResponseCardProperty = ImageResponseCardProperty.builder()
.title("title")
// the properties below are optional
.buttons(List.of(ButtonProperty.builder()
.text("text")
.value("value")
.build()))
.imageUrl("imageUrl")
.subtitle("subtitle")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnBot.ImageResponseCardProperty.Builder
A builder for
CfnBot.ImageResponseCardProperty |
static class |
CfnBot.ImageResponseCardProperty.Jsii$Proxy
An implementation for
CfnBot.ImageResponseCardProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnBot.ImageResponseCardProperty.Builder |
builder() |
default Object |
getButtons()
`CfnBot.ImageResponseCardProperty.Buttons`.
|
default String |
getImageUrl()
`CfnBot.ImageResponseCardProperty.ImageUrl`.
|
default String |
getSubtitle()
`CfnBot.ImageResponseCardProperty.Subtitle`.
|
String |
getTitle()
`CfnBot.ImageResponseCardProperty.Title`.
|
@Stability(value=Stable) @Nullable default Object getButtons()
@Stability(value=Stable) @Nullable default String getImageUrl()
@Stability(value=Stable) @Nullable default String getSubtitle()
@Stability(value=Stable) @NotNull String getTitle()
@Stability(value=Stable) static CfnBot.ImageResponseCardProperty.Builder builder()
Copyright © 2021. All rights reserved.