Interface RcsMessageContent.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RcsMessageContent.Builder,,RcsMessageContent> SdkBuilder<RcsMessageContent.Builder,,RcsMessageContent> SdkPojo
- Enclosing class:
RcsMessageContent
-
Method Summary
Modifier and TypeMethodDescriptiondefault RcsMessageContent.Buildercontent(Consumer<RcsContent.Builder> content) The content of the RCS message.content(RcsContent content) The content of the RCS message.suggestions(Collection<RcsSuggestedAction> suggestions) Message-level suggested actions displayed to the recipient.suggestions(Consumer<RcsSuggestedAction.Builder>... suggestions) Message-level suggested actions displayed to the recipient.suggestions(RcsSuggestedAction... suggestions) Message-level suggested actions displayed to the recipient.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
-
content
The content of the RCS message. Exactly one content type must be specified: TextMessage, FileMessage, RichCard, or Carousel.
- Parameters:
content- The content of the RCS message. Exactly one content type must be specified: TextMessage, FileMessage, RichCard, or Carousel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
The content of the RCS message. Exactly one content type must be specified: TextMessage, FileMessage, RichCard, or Carousel.
This is a convenience method that creates an instance of theRcsContent.Builderavoiding the need to create one manually viaRcsContent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontent(RcsContent).- Parameters:
content- a consumer that will call methods onRcsContent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
suggestions
Message-level suggested actions displayed to the recipient. Maximum 11 suggestions per message.
- Parameters:
suggestions- Message-level suggested actions displayed to the recipient. Maximum 11 suggestions per message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
suggestions
Message-level suggested actions displayed to the recipient. Maximum 11 suggestions per message.
- Parameters:
suggestions- Message-level suggested actions displayed to the recipient. Maximum 11 suggestions per message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
suggestions
Message-level suggested actions displayed to the recipient. Maximum 11 suggestions per message.
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:
-