Interface InAppTemplateRequest.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<InAppTemplateRequest.Builder,
,InAppTemplateRequest> SdkBuilder<InAppTemplateRequest.Builder,
,InAppTemplateRequest> SdkPojo
- Enclosing class:
InAppTemplateRequest
-
Method Summary
Modifier and TypeMethodDescriptioncontent
(Collection<InAppMessageContent> content) The content of the message, can include up to 5 modals.content
(Consumer<InAppMessageContent.Builder>... content) The content of the message, can include up to 5 modals.content
(InAppMessageContent... content) The content of the message, can include up to 5 modals.customConfig
(Map<String, String> customConfig) Custom config to be sent to client.The layout of the message.The layout of the message.templateDescription
(String templateDescription) The description of the template.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
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 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
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:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateDescription
The description of the template.
- Parameters:
templateDescription
- The description of the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-