@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 |
getInAppTemplate()
The InApp 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)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEmailTemplate(Template emailTemplate)
The email template to use for the message.
|
void |
setInAppTemplate(Template inAppTemplate)
The InApp 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 |
withInAppTemplate(Template inAppTemplate)
The InApp 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. This object isn't supported for campaigns.
voiceTemplate
- The voice template to use for the message. This object isn't supported for campaigns.public Template getVoiceTemplate()
The voice template to use for the message. This object isn't supported for campaigns.
public TemplateConfiguration withVoiceTemplate(Template voiceTemplate)
The voice template to use for the message. This object isn't supported for campaigns.
voiceTemplate
- The voice template to use for the message. This object isn't supported for campaigns.public void setInAppTemplate(Template inAppTemplate)
The InApp template to use for the message. The InApp template object is not supported for SendMessages.
inAppTemplate
- The InApp template to use for the message. The InApp template object is not supported for SendMessages.public Template getInAppTemplate()
The InApp template to use for the message. The InApp template object is not supported for SendMessages.
public TemplateConfiguration withInAppTemplate(Template inAppTemplate)
The InApp template to use for the message. The InApp template object is not supported for SendMessages.
inAppTemplate
- The InApp template to use for the message. The InApp template object is not supported for SendMessages.public String toString()
toString
in class Object
Object.toString()
public TemplateConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.