@Generated(value="software.amazon.awssdk:codegen") public final class TemplateVersionResponse extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TemplateVersionResponse.Builder,TemplateVersionResponse>
Provides information about a specific version of a message template.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TemplateVersionResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TemplateVersionResponse.Builder |
builder() |
String |
creationDate()
The date, in ISO 8601 format, when the version of the message template was created.
|
String |
defaultSubstitutions()
A JSON object that specifies the default values that are used for message variables in the version of the message
template.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
lastModifiedDate()
The date, in ISO 8601 format, when the version of the message template was last modified.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TemplateVersionResponse.Builder> |
serializableBuilderClass() |
String |
templateDescription()
The custom description of the version of the message template.
|
String |
templateName()
The name of the message template.
|
String |
templateType()
The type of channel that the message template is designed for.
|
TemplateVersionResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
version()
The unique identifier for the version of the message template.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String creationDate()
The date, in ISO 8601 format, when the version of the message template was created.
public 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.
public String lastModifiedDate()
The date, in ISO 8601 format, when the version of the message template was last modified.
public String templateDescription()
The custom description of the version of the message template.
public String templateName()
The name of the message template.
public String templateType()
The type of channel that the message template is designed for. Possible values are: EMAIL, PUSH, SMS, and VOICE.
public 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.
public TemplateVersionResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TemplateVersionResponse.Builder,TemplateVersionResponse>public static TemplateVersionResponse.Builder builder()
public static Class<? extends TemplateVersionResponse.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.