Interface RcsCardContent.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RcsCardContent.Builder,,RcsCardContent> SdkBuilder<RcsCardContent.Builder,,RcsCardContent> SdkPojo
- Enclosing class:
RcsCardContent
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) The description text of the card.default RcsCardContent.Buildermedia(Consumer<RcsCardMedia.Builder> media) The media content of the card, including the file URL, optional thumbnail, and display height.media(RcsCardMedia media) The media content of the card, including the file URL, optional thumbnail, and display height.suggestions(Collection<RcsSuggestedAction> suggestions) Card-level suggested actions.suggestions(Consumer<RcsSuggestedAction.Builder>... suggestions) Card-level suggested actions.suggestions(RcsSuggestedAction... suggestions) Card-level suggested actions.The title of the 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 card. Maximum 200 characters.
- Parameters:
title- The title of the 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 card. Maximum 2000 characters.
- Parameters:
description- The description text of the 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 card, including the file URL, optional thumbnail, and display height.
- Parameters:
media- The media content of the card, including the file URL, optional thumbnail, and display height.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
media
The media content of the card, including the file URL, optional thumbnail, and display height.
This is a convenience method that creates an instance of theRcsCardMedia.Builderavoiding the need to create one manually viaRcsCardMedia.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomedia(RcsCardMedia).- Parameters:
media- a consumer that will call methods onRcsCardMedia.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
suggestions
Card-level suggested actions. Maximum 4 suggestions per card.
- Parameters:
suggestions- Card-level suggested actions. 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. Maximum 4 suggestions per card.
- Parameters:
suggestions- Card-level suggested actions. 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. 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:
-