Interface ImageResponseCard.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<ImageResponseCard.Builder,,- ImageResponseCard> - SdkBuilder<ImageResponseCard.Builder,,- ImageResponseCard> - SdkPojo
- Enclosing class:
- ImageResponseCard
- 
Method SummaryModifier and TypeMethodDescriptionbuttons(Collection<Button> buttons) A list of buttons that should be displayed on the response card.buttons(Consumer<Button.Builder>... buttons) A list of buttons that should be displayed on the response card.A list of buttons that should be displayed on the response card.The URL of an image to display on the response card.The subtitle to display on the response card.The title to display on the response card.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
titleThe title to display on the response card. The format of the title is determined by the platform displaying the response card. - Parameters:
- title- The title to display on the response card. The format of the title is determined by the platform displaying the response card.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
subtitleThe subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - Parameters:
- subtitle- The subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
imageUrlThe 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. - Parameters:
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
buttonsA list of buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. - Parameters:
- 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 button.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
buttonsA list of buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. - Parameters:
- 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 button.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
buttonsA list of buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. This is a convenience method that creates an instance of theButton.Builderavoiding the need to create one manually viaButton.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobuttons(List<Button>).- Parameters:
- buttons- a consumer that will call methods on- Button.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-