Interface InAppTemplateResponse.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<InAppTemplateResponse.Builder,
,InAppTemplateResponse> SdkBuilder<InAppTemplateResponse.Builder,
,InAppTemplateResponse> SdkPojo
- Enclosing class:
InAppTemplateResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe resource arn of the template.content
(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.creationDate
(String creationDate) The creation date of the template.customConfig
(Map<String, String> customConfig) Custom config to be sent to client.lastModifiedDate
(String lastModifiedDate) The last modified date of the template.The layout of the message.The layout of the message.A string-to-string map of key-value pairs that defines the tags to associate with the message template.templateDescription
(String templateDescription) The description of the template.templateName
(String templateName) The name of the template.templateType
(String templateType) The type of the template.templateType
(TemplateType templateType) The type of the template.The version id 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
-
arn
The resource arn of the template.
- Parameters:
arn
- The resource arn of the template.- 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.
- 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:
-
creationDate
The creation date of the template.
- Parameters:
creationDate
- The creation date of the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
lastModifiedDate
The last modified date of the template.
- Parameters:
lastModifiedDate
- The last modified date of the template.- 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
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
- 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.- 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.
-
templateName
The name of the template.
- Parameters:
templateName
- The name of the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateType
The type of the template.
- Parameters:
templateType
- The type of the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
templateType
The type of the template.
- Parameters:
templateType
- The type of the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
version
The version id of the template.
- Parameters:
version
- The version id of the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-