Interface CampaignInAppMessage.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CampaignInAppMessage.Builder,
,CampaignInAppMessage> SdkBuilder<CampaignInAppMessage.Builder,
,CampaignInAppMessage> SdkPojo
- Enclosing class:
CampaignInAppMessage
public static interface CampaignInAppMessage.Builder
extends SdkPojo, CopyableBuilder<CampaignInAppMessage.Builder,CampaignInAppMessage>
-
Method Summary
Modifier and TypeMethodDescriptionThe message body of the notification, the email body or the text message.content
(Collection<InAppMessageContent> content) In-app message content.content
(Consumer<InAppMessageContent.Builder>... content) In-app message content.content
(InAppMessageContent... content) In-app message content.customConfig
(Map<String, String> customConfig) Custom config to be sent to client.In-app message layout.In-app message layout.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
body
The message body of the notification, the email body or the text message.
- Parameters:
body
- The message body of the notification, the email body or the text message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
In-app message content.
- Parameters:
content
- In-app message content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
In-app message content.
- Parameters:
content
- In-app message content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
In-app message content.
This is a convenience method that creates an instance of theInAppMessageContent.Builder
avoiding the need to create one manually viaInAppMessageContent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontent(List<InAppMessageContent>)
.- Parameters:
content
- a consumer that will call methods onInAppMessageContent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
customConfig
Custom config to be sent to client.
- Parameters:
customConfig
- Custom config to be sent to client.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
layout
In-app message layout.
- Parameters:
layout
- In-app message layout.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
layout
In-app message layout.
- Parameters:
layout
- In-app message layout.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-