public static interface GenericAttachment.Builder extends SdkPojo, CopyableBuilder<GenericAttachment.Builder,GenericAttachment>
| Modifier and Type | Method and Description |
|---|---|
GenericAttachment.Builder |
attachmentLinkUrl(String attachmentLinkUrl)
The URL of an attachment to the response card.
|
GenericAttachment.Builder |
buttons(Button... buttons)
The list of options to show to the user.
|
GenericAttachment.Builder |
buttons(Collection<Button> buttons)
The list of options to show to the user.
|
GenericAttachment.Builder |
buttons(Consumer<Button.Builder>... buttons)
The list of options to show to the user.
|
GenericAttachment.Builder |
imageUrl(String imageUrl)
The URL of an image that is displayed to the user.
|
GenericAttachment.Builder |
subTitle(String subTitle)
The subtitle shown below the title.
|
GenericAttachment.Builder |
title(String title)
The title of the option.
|
copyapplyMutation, buildGenericAttachment.Builder title(String title)
The title of the option.
title - The title of the option.GenericAttachment.Builder subTitle(String subTitle)
The subtitle shown below the title.
subTitle - The subtitle shown below the title.GenericAttachment.Builder attachmentLinkUrl(String attachmentLinkUrl)
The URL of an attachment to the response card.
attachmentLinkUrl - The URL of an attachment to the response card.GenericAttachment.Builder imageUrl(String imageUrl)
The URL of an image that is displayed to the user.
imageUrl - The URL of an image that is displayed to the user.GenericAttachment.Builder buttons(Collection<Button> buttons)
The list of options to show to the user.
buttons - The list of options to show to the user.GenericAttachment.Builder buttons(Button... buttons)
The list of options to show to the user.
buttons - The list of options to show to the user.GenericAttachment.Builder buttons(Consumer<Button.Builder>... buttons)
The list of options to show to the user.
This is a convenience that creates an instance of theList avoiding the need to
create one manually via List.
When the Consumer completes, List is called immediately and its
result is passed to #buttons(List.buttons - a consumer that will call methods on List#buttons(ListCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.