public static interface InAppTemplateRequest.Builder extends SdkPojo, CopyableBuilder<InAppTemplateRequest.Builder,InAppTemplateRequest>
| Modifier and Type | Method and Description |
|---|---|
InAppTemplateRequest.Builder |
content(Collection<InAppMessageContent> content)
The content of the message, can include up to 5 modals.
|
InAppTemplateRequest.Builder |
content(Consumer<InAppMessageContent.Builder>... content)
The content of the message, can include up to 5 modals.
|
InAppTemplateRequest.Builder |
content(InAppMessageContent... content)
The content of the message, can include up to 5 modals.
|
InAppTemplateRequest.Builder |
customConfig(Map<String,String> customConfig)
Custom config to be sent to client.
|
InAppTemplateRequest.Builder |
layout(Layout layout)
The layout of the message.
|
InAppTemplateRequest.Builder |
layout(String layout)
The layout of the message.
|
InAppTemplateRequest.Builder |
tags(Map<String,String> tags)
|
InAppTemplateRequest.Builder |
templateDescription(String templateDescription)
The description of the template.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildInAppTemplateRequest.Builder content(Collection<InAppMessageContent> content)
The content of the message, can include up to 5 modals. Each modal must contain a message, a header, and background color. ImageUrl and buttons are optional.
content - The content of the message, can include up to 5 modals. Each modal must contain a message, a header,
and background color. ImageUrl and buttons are optional.InAppTemplateRequest.Builder content(InAppMessageContent... content)
The content of the message, can include up to 5 modals. Each modal must contain a message, a header, and background color. ImageUrl and buttons are optional.
content - The content of the message, can include up to 5 modals. Each modal must contain a message, a header,
and background color. ImageUrl and buttons are optional.InAppTemplateRequest.Builder content(Consumer<InAppMessageContent.Builder>... content)
The content of the message, can include up to 5 modals. Each modal must contain a message, a header, and background color. ImageUrl and buttons are optional.
This is a convenience method that creates an instance of theInAppMessageContent.Builder avoiding the need to
create one manually via InAppMessageContent.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #content(List.
content - a consumer that will call methods on
InAppMessageContent.Builder#content(java.util.Collection) InAppTemplateRequest.Builder customConfig(Map<String,String> customConfig)
Custom config to be sent to client.
customConfig - Custom config to be sent to client.InAppTemplateRequest.Builder layout(String layout)
The layout of the message.
InAppTemplateRequest.Builder layout(Layout layout)
The layout of the message.
InAppTemplateRequest.Builder tags(Map<String,String> tags)
As of 22-05-2023 tags has been deprecated for update operations. After this date any value in tags is not processed and an error code is not returned. To manage tags we recommend using either Tags in the API Reference for Amazon Pinpoint, resourcegroupstaggingapi commands in the AWS Command Line Interface Documentation or resourcegroupstaggingapi in the AWS SDK.
(Deprecated) A string-to-string map of key-value pairs that defines the tags to associate with the message template. Each tag consists of a required tag key and an associated tag value.
tags - As of 22-05-2023 tags has been deprecated for update operations. After this date any value in
tags is not processed and an error code is not returned. To manage tags we recommend using either Tags in the
API Reference for Amazon Pinpoint, resourcegroupstaggingapi commands in the AWS Command Line Interface Documentation or resourcegroupstaggingapi in the AWS SDK.InAppTemplateRequest.Builder templateDescription(String templateDescription)
The description of the template.
templateDescription - The description of the template.Copyright © 2023. All rights reserved.