Interface SMSTemplateResponse.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SMSTemplateResponse.Builder,SMSTemplateResponse>,SdkBuilder<SMSTemplateResponse.Builder,SMSTemplateResponse>,SdkPojo
- Enclosing class:
- SMSTemplateResponse
public static interface SMSTemplateResponse.Builder extends SdkPojo, CopyableBuilder<SMSTemplateResponse.Builder,SMSTemplateResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SMSTemplateResponse.Builderarn(String arn)The Amazon Resource Name (ARN) of the message template.SMSTemplateResponse.Builderbody(String body)The message body that's used in text messages that are based on the message template.SMSTemplateResponse.BuildercreationDate(String creationDate)The date, in ISO 8601 format, when the message template was created.SMSTemplateResponse.BuilderdefaultSubstitutions(String defaultSubstitutions)The JSON object that specifies the default values that are used for message variables in the message template.SMSTemplateResponse.BuilderlastModifiedDate(String lastModifiedDate)The date, in ISO 8601 format, when the message template was last modified.SMSTemplateResponse.BuilderrecommenderId(String recommenderId)The unique identifier for the recommender model that's used by the message template.SMSTemplateResponse.Buildertags(Map<String,String> tags)A string-to-string map of key-value pairs that identifies the tags that are associated with the message template.SMSTemplateResponse.BuildertemplateDescription(String templateDescription)The custom description of the message template.SMSTemplateResponse.BuildertemplateName(String templateName)The name of the message template.SMSTemplateResponse.BuildertemplateType(String templateType)The type of channel that the message template is designed for.SMSTemplateResponse.BuildertemplateType(TemplateType templateType)The type of channel that the message template is designed for.SMSTemplateResponse.Builderversion(String 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.-
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
SMSTemplateResponse.Builder arn(String 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.
-
body
SMSTemplateResponse.Builder body(String body)
The message body that's used in text messages that are based on the message template.
- Parameters:
body- The message body that's used in text messages that are based on the message template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationDate
SMSTemplateResponse.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
SMSTemplateResponse.Builder defaultSubstitutions(String 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.
-
lastModifiedDate
SMSTemplateResponse.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.
-
recommenderId
SMSTemplateResponse.Builder recommenderId(String 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.
-
tags
SMSTemplateResponse.Builder tags(Map<String,String> 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
SMSTemplateResponse.Builder templateDescription(String 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
SMSTemplateResponse.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
SMSTemplateResponse.Builder templateType(String templateType)
The type of channel that the message template is designed for. For an SMS template, this value is SMS.
- Parameters:
templateType- The type of channel that the message template is designed for. For an SMS template, this value is SMS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TemplateType,TemplateType
-
templateType
SMSTemplateResponse.Builder templateType(TemplateType templateType)
The type of channel that the message template is designed for. For an SMS template, this value is SMS.
- Parameters:
templateType- The type of channel that the message template is designed for. For an SMS template, this value is SMS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TemplateType,TemplateType
-
version
SMSTemplateResponse.Builder version(String 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.
-
-