Interface TemplateVersionResponse.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TemplateVersionResponse.Builder,TemplateVersionResponse>,SdkBuilder<TemplateVersionResponse.Builder,TemplateVersionResponse>,SdkPojo
- Enclosing class:
- TemplateVersionResponse
public static interface TemplateVersionResponse.Builder extends SdkPojo, CopyableBuilder<TemplateVersionResponse.Builder,TemplateVersionResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TemplateVersionResponse.BuildercreationDate(String creationDate)The date, in ISO 8601 format, when the version of the message template was created.TemplateVersionResponse.BuilderdefaultSubstitutions(String defaultSubstitutions)A JSON object that specifies the default values that are used for message variables in the version of the message template.TemplateVersionResponse.BuilderlastModifiedDate(String lastModifiedDate)The date, in ISO 8601 format, when the version of the message template was last modified.TemplateVersionResponse.BuildertemplateDescription(String templateDescription)The custom description of the version of the message template.TemplateVersionResponse.BuildertemplateName(String templateName)The name of the message template.TemplateVersionResponse.BuildertemplateType(String templateType)The type of channel that the message template is designed for.TemplateVersionResponse.Builderversion(String version)The unique identifier for the 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
-
creationDate
TemplateVersionResponse.Builder creationDate(String creationDate)
The date, in ISO 8601 format, when the version of the message template was created.
- Parameters:
creationDate- The date, in ISO 8601 format, when the version of the message template was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultSubstitutions
TemplateVersionResponse.Builder defaultSubstitutions(String defaultSubstitutions)
A JSON object that specifies the default values that are used for message variables in the version of 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- A JSON object that specifies the default values that are used for message variables in the version of 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
TemplateVersionResponse.Builder lastModifiedDate(String lastModifiedDate)
The date, in ISO 8601 format, when the version of the message template was last modified.
- Parameters:
lastModifiedDate- The date, in ISO 8601 format, when the version of the message template was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateDescription
TemplateVersionResponse.Builder templateDescription(String templateDescription)
The custom description of the version of the message template.
- Parameters:
templateDescription- The custom description of the version of the message template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateName
TemplateVersionResponse.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
TemplateVersionResponse.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.
-
version
TemplateVersionResponse.Builder version(String version)
The unique identifier for the version of the message template. This value is an integer that Amazon Pinpoint automatically increments and assigns to each new version of a template.
- Parameters:
version- The unique identifier for the version of the message template. This value is an integer that Amazon Pinpoint automatically increments and assigns to each new version of a template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-