Interface EmailTemplateResponse.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EmailTemplateResponse.Builder,
,EmailTemplateResponse> SdkBuilder<EmailTemplateResponse.Builder,
,EmailTemplateResponse> SdkPojo
- Enclosing class:
EmailTemplateResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the message template.creationDate
(String creationDate) The date, in ISO 8601 format, when the message template was created.defaultSubstitutions
(String defaultSubstitutions) The JSON object that specifies the default values that are used for message variables in the message template.headers
(Collection<MessageHeader> headers) The list of MessageHeaders for the email.headers
(Consumer<MessageHeader.Builder>... headers) The list of MessageHeaders for the email.headers
(MessageHeader... headers) The list of MessageHeaders for the email.The message body, in HTML format, that's used in email messages that are based on the message template.lastModifiedDate
(String lastModifiedDate) The date, in ISO 8601 format, when the message template was last modified.recommenderId
(String recommenderId) The unique identifier for the recommender model that's used by the message template.The subject line, or title, that's used in email messages that are based on the message template.A string-to-string map of key-value pairs that identifies the tags that are associated with the message template.templateDescription
(String templateDescription) The custom description of the message template.templateName
(String templateName) The name of the message template.templateType
(String templateType) The type of channel that the message template is designed for.templateType
(TemplateType templateType) The type of channel that the message template is designed for.The message body, in plain text format, that's used in email messages that are based on the message template.The unique identifier, as an integer, for the active version of the message template, or the version of the template that you specified by using the version parameter in your request.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, sdkFieldNameToField, sdkFields
-
Method Details
-
arn
The Amazon Resource Name (ARN) of the message template.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the message template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationDate
The date, in ISO 8601 format, when the message template was created.
- Parameters:
creationDate
- The date, in ISO 8601 format, when the message template was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultSubstitutions
The JSON object that specifies the default values that are used for message variables in the message template. This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the default value for that variable.
- Parameters:
defaultSubstitutions
- The JSON object that specifies the default values that are used for message variables in the message template. This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the default value for that variable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
htmlPart
The message body, in HTML format, that's used in email messages that are based on the message template.
- Parameters:
htmlPart
- The message body, in HTML format, that's used in email messages that are based on the message template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedDate
The date, in ISO 8601 format, when the message template was last modified.
- Parameters:
lastModifiedDate
- The date, in ISO 8601 format, when the message template was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommenderId
The unique identifier for the recommender model that's used by the message template.
- Parameters:
recommenderId
- The unique identifier for the recommender model that's used by the message template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subject
The subject line, or title, that's used in email messages that are based on the message template.
- Parameters:
subject
- The subject line, or title, that's used in email messages that are based on the message template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
headers
The list of MessageHeaders for the email. You can have up to 15 Headers.
- Parameters:
headers
- The list of MessageHeaders for the email. You can have up to 15 Headers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
headers
The list of MessageHeaders for the email. You can have up to 15 Headers.
- Parameters:
headers
- The list of MessageHeaders for the email. You can have up to 15 Headers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
headers
The list of MessageHeaders for the email. You can have up to 15 Headers.
This is a convenience method that creates an instance of theMessageHeader.Builder
avoiding the need to create one manually viaMessageHeader.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toheaders(List<MessageHeader>)
.- Parameters:
headers
- a consumer that will call methods onMessageHeader.Builder
- 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 identifies the tags that are associated 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 identifies the tags that are associated 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 custom description of the message template.
- Parameters:
templateDescription
- The custom description of the message template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateName
The name of the message template.
- Parameters:
templateName
- The name of the message template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateType
The type of channel that the message template is designed for. For an email template, this value is EMAIL.
- Parameters:
templateType
- The type of channel that the message template is designed for. For an email template, this value is EMAIL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
templateType
The type of channel that the message template is designed for. For an email template, this value is EMAIL.
- Parameters:
templateType
- The type of channel that the message template is designed for. For an email template, this value is EMAIL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
textPart
The message body, in plain text format, that's used in email messages that are based on the message template.
- Parameters:
textPart
- The message body, in plain text format, that's used in email messages that are based on the message template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
The unique identifier, as an integer, for the active version of the message template, or the version of the template that you specified by using the version parameter in your request.
- Parameters:
version
- The unique identifier, as an integer, for the active version of the message template, or the version of the template that you specified by using the version parameter in your request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-