@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Template extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
Template() |
Modifier and Type | Method and Description |
---|---|
Template |
clone() |
boolean |
equals(Object obj) |
String |
getTemplateArn()
The Amazon Resource Name (ARN) of the template.
|
String |
getTemplateData()
An object that defines the values to use for message variables in the template.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setTemplateArn(String templateArn)
The Amazon Resource Name (ARN) of the template.
|
void |
setTemplateData(String templateData)
An object that defines the values to use for message variables in the template.
|
String |
toString()
Returns a string representation of this object.
|
Template |
withTemplateArn(String templateArn)
The Amazon Resource Name (ARN) of the template.
|
Template |
withTemplateData(String templateData)
An object that defines the values to use for message variables in the template.
|
public void setTemplateArn(String templateArn)
The Amazon Resource Name (ARN) of the template.
templateArn
- The Amazon Resource Name (ARN) of the template.public String getTemplateArn()
The Amazon Resource Name (ARN) of the template.
public Template withTemplateArn(String templateArn)
The Amazon Resource Name (ARN) of the template.
templateArn
- The Amazon Resource Name (ARN) of the template.public void setTemplateData(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.
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 String getTemplateData()
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 withTemplateData(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.
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 String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.