@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TemplateConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the message template to use for the message, for each type of channel.
| Constructor and Description |
|---|
TemplateConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
TemplateConfiguration |
clone() |
boolean |
equals(Object obj) |
Template |
getEmailTemplate()
The email template to use for the message.
|
Template |
getPushTemplate()
The push notification template to use for the message.
|
Template |
getSMSTemplate()
The SMS template to use for the message.
|
Template |
getVoiceTemplate()
The voice template to use for the message.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setEmailTemplate(Template emailTemplate)
The email template to use for the message.
|
void |
setPushTemplate(Template pushTemplate)
The push notification template to use for the message.
|
void |
setSMSTemplate(Template sMSTemplate)
The SMS template to use for the message.
|
void |
setVoiceTemplate(Template voiceTemplate)
The voice template to use for the message.
|
String |
toString()
Returns a string representation of this object.
|
TemplateConfiguration |
withEmailTemplate(Template emailTemplate)
The email template to use for the message.
|
TemplateConfiguration |
withPushTemplate(Template pushTemplate)
The push notification template to use for the message.
|
TemplateConfiguration |
withSMSTemplate(Template sMSTemplate)
The SMS template to use for the message.
|
TemplateConfiguration |
withVoiceTemplate(Template voiceTemplate)
The voice template to use for the message.
|
public void setEmailTemplate(Template emailTemplate)
The email template to use for the message.
emailTemplate - The email template to use for the message.public Template getEmailTemplate()
The email template to use for the message.
public TemplateConfiguration withEmailTemplate(Template emailTemplate)
The email template to use for the message.
emailTemplate - The email template to use for the message.public void setPushTemplate(Template pushTemplate)
The push notification template to use for the message.
pushTemplate - The push notification template to use for the message.public Template getPushTemplate()
The push notification template to use for the message.
public TemplateConfiguration withPushTemplate(Template pushTemplate)
The push notification template to use for the message.
pushTemplate - The push notification template to use for the message.public void setSMSTemplate(Template sMSTemplate)
The SMS template to use for the message.
sMSTemplate - The SMS template to use for the message.public Template getSMSTemplate()
The SMS template to use for the message.
public TemplateConfiguration withSMSTemplate(Template sMSTemplate)
The SMS template to use for the message.
sMSTemplate - The SMS template to use for the message.public void setVoiceTemplate(Template voiceTemplate)
The voice template to use for the message.
voiceTemplate - The voice template to use for the message.public Template getVoiceTemplate()
The voice template to use for the message.
public TemplateConfiguration withVoiceTemplate(Template voiceTemplate)
The voice template to use for the message.
voiceTemplate - The voice template to use for the message.public String toString()
toString in class ObjectObject.toString()public TemplateConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.