@Stability(value=Stable) public static final class CfnBot.ImageResponseCardProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnBot.ImageResponseCardProperty>
CfnBot.ImageResponseCardProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnBot.ImageResponseCardProperty |
build()
Builds the configured instance.
|
CfnBot.ImageResponseCardProperty.Builder |
buttons(IResolvable buttons)
Sets the value of
CfnBot.ImageResponseCardProperty.getButtons() |
CfnBot.ImageResponseCardProperty.Builder |
buttons(List<? extends Object> buttons)
Sets the value of
CfnBot.ImageResponseCardProperty.getButtons() |
CfnBot.ImageResponseCardProperty.Builder |
imageUrl(String imageUrl)
Sets the value of
CfnBot.ImageResponseCardProperty.getImageUrl() |
CfnBot.ImageResponseCardProperty.Builder |
subtitle(String subtitle)
Sets the value of
CfnBot.ImageResponseCardProperty.getSubtitle() |
CfnBot.ImageResponseCardProperty.Builder |
title(String title)
Sets the value of
CfnBot.ImageResponseCardProperty.getTitle() |
@Stability(value=Stable) public CfnBot.ImageResponseCardProperty.Builder title(String title)
CfnBot.ImageResponseCardProperty.getTitle()title - The title to display on the response card. This parameter is required.
The format of the title is determined by the platform displaying the response card.this@Stability(value=Stable) public CfnBot.ImageResponseCardProperty.Builder buttons(IResolvable buttons)
CfnBot.ImageResponseCardProperty.getButtons()buttons - A list of buttons that should be displayed on the response card.
The arrangement of the buttons is determined by the platform that displays the buttons.this@Stability(value=Stable) public CfnBot.ImageResponseCardProperty.Builder buttons(List<? extends Object> buttons)
CfnBot.ImageResponseCardProperty.getButtons()buttons - A list of buttons that should be displayed on the response card.
The arrangement of the buttons is determined by the platform that displays the buttons.this@Stability(value=Stable) public CfnBot.ImageResponseCardProperty.Builder imageUrl(String imageUrl)
CfnBot.ImageResponseCardProperty.getImageUrl()imageUrl - The 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.this@Stability(value=Stable) public CfnBot.ImageResponseCardProperty.Builder subtitle(String subtitle)
CfnBot.ImageResponseCardProperty.getSubtitle()subtitle - The subtitle to display on the response card.
The format of the subtitle is determined by the platform displaying the response card.this@Stability(value=Stable) public CfnBot.ImageResponseCardProperty build()
build in interface software.amazon.jsii.Builder<CfnBot.ImageResponseCardProperty>CfnBot.ImageResponseCardPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.