Interface GenericAttachment.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<GenericAttachment.Builder,,- GenericAttachment> - SdkBuilder<GenericAttachment.Builder,,- GenericAttachment> - SdkPojo
- Enclosing class:
- GenericAttachment
@Mutable
@NotThreadSafe
public static interface GenericAttachment.Builder
extends SdkPojo, CopyableBuilder<GenericAttachment.Builder,GenericAttachment> 
- 
Method SummaryModifier and TypeMethodDescriptionattachmentLinkUrl(String attachmentLinkUrl) The URL of an attachment to the response card.buttons(Collection<Button> buttons) The list of options to show to the user.buttons(Consumer<Button.Builder>... buttons) The list of options to show to the user.The list of options to show to the user.The URL of an image that is displayed to the user.The subtitle shown below the title.The title of the option.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 of the option. - Parameters:
- title- The title of the option.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
subTitleThe subtitle shown below the title. - Parameters:
- subTitle- The subtitle shown below the title.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
attachmentLinkUrlThe URL of an attachment to the response card. - Parameters:
- attachmentLinkUrl- The URL of an attachment to the response card.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
imageUrlThe URL of an image that is displayed to the user. - Parameters:
- imageUrl- The URL of an image that is displayed to the user.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
buttonsThe list of options to show to the user. - Parameters:
- buttons- The list of options to show to the user.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
buttonsThe list of options to show to the user. - Parameters:
- buttons- The list of options to show to the user.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
buttonsThe list of options to show to the user. 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:
 
 
-