Interface InAppMessage.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<InAppMessage.Builder,
,InAppMessage> SdkBuilder<InAppMessage.Builder,
,InAppMessage> SdkPojo
- Enclosing class:
InAppMessage
public static interface InAppMessage.Builder
extends SdkPojo, CopyableBuilder<InAppMessage.Builder,InAppMessage>
-
Method Summary
Modifier and TypeMethodDescriptioncontent
(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 SDK.The layout of the message.The layout of the message.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
-
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 SDK.
- Parameters:
customConfig
- Custom config to be sent to SDK.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
layout
The layout of the message.
- Parameters:
layout
- The layout of the message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
layout
The layout of the message.
- Parameters:
layout
- The layout of the message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-