Interface RcsCarouselCardContent.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RcsCarouselCardContent.Builder,,RcsCarouselCardContent> SdkBuilder<RcsCarouselCardContent.Builder,,RcsCarouselCardContent> SdkPojo
- Enclosing class:
RcsCarouselCardContent
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) The description text of the carousel card.default RcsCarouselCardContent.BuilderThe media content of the carousel card.media(RcsCarouselCardMedia media) The media content of the carousel card.suggestions(Collection<RcsSuggestedAction> suggestions) Card-level suggested actions for this carousel card.suggestions(Consumer<RcsSuggestedAction.Builder>... suggestions) Card-level suggested actions for this carousel card.suggestions(RcsSuggestedAction... suggestions) Card-level suggested actions for this carousel card.The title of the carousel card.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
title
The title of the carousel card. Maximum 200 characters.
- Parameters:
title- The title of the carousel card. Maximum 200 characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description text of the carousel card. Maximum 2000 characters.
- Parameters:
description- The description text of the carousel card. Maximum 2000 characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
media
The media content of the carousel card. Media height is restricted to SHORT or MEDIUM (TALL is not supported in carousels).
- Parameters:
media- The media content of the carousel card. Media height is restricted to SHORT or MEDIUM (TALL is not supported in carousels).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
media
The media content of the carousel card. Media height is restricted to SHORT or MEDIUM (TALL is not supported in carousels).
This is a convenience method that creates an instance of theRcsCarouselCardMedia.Builderavoiding the need to create one manually viaRcsCarouselCardMedia.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomedia(RcsCarouselCardMedia).- Parameters:
media- a consumer that will call methods onRcsCarouselCardMedia.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
suggestions
Card-level suggested actions for this carousel card. Maximum 4 suggestions per card.
- Parameters:
suggestions- Card-level suggested actions for this carousel card. Maximum 4 suggestions per card.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
suggestions
Card-level suggested actions for this carousel card. Maximum 4 suggestions per card.
- Parameters:
suggestions- Card-level suggested actions for this carousel card. Maximum 4 suggestions per card.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
suggestions
Card-level suggested actions for this carousel card. Maximum 4 suggestions per card.
This is a convenience method that creates an instance of theRcsSuggestedAction.Builderavoiding the need to create one manually viaRcsSuggestedAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosuggestions(List<RcsSuggestedAction>).- Parameters:
suggestions- a consumer that will call methods onRcsSuggestedAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-