Interface TemplateResponse.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TemplateResponse.Builder,TemplateResponse>,SdkBuilder<TemplateResponse.Builder,TemplateResponse>,SdkPojo
- Enclosing class:
- TemplateResponse
public static interface TemplateResponse.Builder extends SdkPojo, CopyableBuilder<TemplateResponse.Builder,TemplateResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TemplateResponse.Builderarn(String arn)The Amazon Resource Name (ARN) of the message template.TemplateResponse.BuildercreationDate(String creationDate)The date, in ISO 8601 format, when the message template was created.TemplateResponse.BuilderdefaultSubstitutions(String defaultSubstitutions)The JSON object that specifies the default values that are used for message variables in the message template.TemplateResponse.BuilderlastModifiedDate(String lastModifiedDate)The date, in ISO 8601 format, when the message template was last modified.TemplateResponse.Buildertags(Map<String,String> tags)A map of key-value pairs that identifies the tags that are associated with the message template.TemplateResponse.BuildertemplateDescription(String templateDescription)The custom description of the message template.TemplateResponse.BuildertemplateName(String templateName)The name of the message template.TemplateResponse.BuildertemplateType(String templateType)The type of channel that the message template is designed for.TemplateResponse.BuildertemplateType(TemplateType templateType)The type of channel that the message template is designed for.TemplateResponse.Builderversion(String version)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 Detail
-
arn
TemplateResponse.Builder arn(String 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
TemplateResponse.Builder creationDate(String 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
TemplateResponse.Builder defaultSubstitutions(String 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
TemplateResponse.Builder lastModifiedDate(String 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
TemplateResponse.Builder tags(Map<String,String> 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
TemplateResponse.Builder templateDescription(String 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
TemplateResponse.Builder templateName(String 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
TemplateResponse.Builder templateType(String 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,TemplateType
-
templateType
TemplateResponse.Builder templateType(TemplateType 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,TemplateType
-
version
TemplateResponse.Builder version(String 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.
-
-