@Generated(value="software.amazon.awssdk:codegen") public final class Template extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Template.Builder,Template>
An object that defines the email template to use for an email message, and the values to use for any message variables in that template. An email template is a type of message template that contains content that you want to define, save, and reuse in email messages that you send.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Template.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Template.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Template.Builder> |
serializableBuilderClass() |
String |
templateArn()
The Amazon Resource Name (ARN) of the template.
|
String |
templateData()
An object that defines the values to use for message variables in the template.
|
String |
templateName()
The name of the template.
|
Template.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String templateName()
The name of the template. You will refer to this name when you send email using the
SendTemplatedEmail or SendBulkTemplatedEmail operations.
SendTemplatedEmail or SendBulkTemplatedEmail operations.public String templateArn()
The Amazon Resource Name (ARN) of the template.
public String templateData()
An object that defines the values to use for message variables in the template. This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the value to use for that variable.
public Template.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Template.Builder,Template>public static Template.Builder builder()
public static Class<? extends Template.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.