Interface TemplateResponse.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TemplateResponse.Builder,
,TemplateResponse> SdkBuilder<TemplateResponse.Builder,
,TemplateResponse> SdkPojo
- Enclosing class:
TemplateResponse
-
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.lastModifiedDate
(String lastModifiedDate) The date, in ISO 8601 format, when the message template was last modified.A 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 unique identifier, as an integer, for the active version of the message 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 Amazon Resource Name (ARN) of the message template. This value isn't included in a TemplateResponse object. To retrieve the ARN of a template, use the GetEmailTemplate, GetPushTemplate, GetSmsTemplate, or GetVoiceTemplate operation, depending on the type of template that you want to retrieve the ARN for.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the message template. This value isn't included in a TemplateResponse object. To retrieve the ARN of a template, use the GetEmailTemplate, GetPushTemplate, GetSmsTemplate, or GetVoiceTemplate operation, depending on the type of template that you want to retrieve the ARN for.- 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 isn't included in a TemplateResponse object. To retrieve this object for a template, use the GetEmailTemplate, GetPushTemplate, GetSmsTemplate, or GetVoiceTemplate operation, depending on the type of template that you want to retrieve the object for.
- Parameters:
defaultSubstitutions
- The JSON object that specifies the default values that are used for message variables in the message template. This object isn't included in a TemplateResponse object. To retrieve this object for a template, use the GetEmailTemplate, GetPushTemplate, GetSmsTemplate, or GetVoiceTemplate operation, depending on the type of template that you want to retrieve the object for.- 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.
-
tags
A map of key-value pairs that identifies the tags that are associated with the message template. This object isn't included in a TemplateResponse object. To retrieve this object for a template, use the GetEmailTemplate, GetPushTemplate, GetSmsTemplate, or GetVoiceTemplate operation, depending on the type of template that you want to retrieve the object for.
- Parameters:
tags
- A map of key-value pairs that identifies the tags that are associated with the message template. This object isn't included in a TemplateResponse object. To retrieve this object for a template, use the GetEmailTemplate, GetPushTemplate, GetSmsTemplate, or GetVoiceTemplate operation, depending on the type of template that you want to retrieve the object for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateDescription
The custom description of the message template. This value isn't included in a TemplateResponse object. To retrieve the description of a template, use the GetEmailTemplate, GetPushTemplate, GetSmsTemplate, or GetVoiceTemplate operation, depending on the type of template that you want to retrieve the description for.
- Parameters:
templateDescription
- The custom description of the message template. This value isn't included in a TemplateResponse object. To retrieve the description of a template, use the GetEmailTemplate, GetPushTemplate, GetSmsTemplate, or GetVoiceTemplate operation, depending on the type of template that you want to retrieve the description for.- 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. Possible values are: EMAIL, PUSH, SMS, INAPP, and VOICE.
- Parameters:
templateType
- The type of channel that the message template is designed for. Possible values are: EMAIL, PUSH, SMS, INAPP, and VOICE.- 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. Possible values are: EMAIL, PUSH, SMS, INAPP, and VOICE.
- Parameters:
templateType
- The type of channel that the message template is designed for. Possible values are: EMAIL, PUSH, SMS, INAPP, and VOICE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
version
The unique identifier, as an integer, for the active version of the message template.
- Parameters:
version
- The unique identifier, as an integer, for the active version of the message template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-