@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MessageTemplateType extends Object implements Serializable, Cloneable, StructuredPojo
The message template structure.
Constructor and Description |
---|
MessageTemplateType() |
Modifier and Type | Method and Description |
---|---|
MessageTemplateType |
clone() |
boolean |
equals(Object obj) |
String |
getEmailMessage()
The message template for email messages.
|
String |
getEmailSubject()
The subject line for email messages.
|
String |
getSMSMessage()
The message template for SMS messages.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEmailMessage(String emailMessage)
The message template for email messages.
|
void |
setEmailSubject(String emailSubject)
The subject line for email messages.
|
void |
setSMSMessage(String sMSMessage)
The message template for SMS messages.
|
String |
toString()
Returns a string representation of this object.
|
MessageTemplateType |
withEmailMessage(String emailMessage)
The message template for email messages.
|
MessageTemplateType |
withEmailSubject(String emailSubject)
The subject line for email messages.
|
MessageTemplateType |
withSMSMessage(String sMSMessage)
The message template for SMS messages.
|
public void setSMSMessage(String sMSMessage)
The message template for SMS messages.
sMSMessage
- The message template for SMS messages.public String getSMSMessage()
The message template for SMS messages.
public MessageTemplateType withSMSMessage(String sMSMessage)
The message template for SMS messages.
sMSMessage
- The message template for SMS messages.public void setEmailMessage(String emailMessage)
The message template for email messages. EmailMessage is allowed only if EmailSendingAccount is DEVELOPER.
emailMessage
- The message template for email messages. EmailMessage is allowed only if EmailSendingAccount is DEVELOPER.public String getEmailMessage()
The message template for email messages. EmailMessage is allowed only if EmailSendingAccount is DEVELOPER.
public MessageTemplateType withEmailMessage(String emailMessage)
The message template for email messages. EmailMessage is allowed only if EmailSendingAccount is DEVELOPER.
emailMessage
- The message template for email messages. EmailMessage is allowed only if EmailSendingAccount is DEVELOPER.public void setEmailSubject(String emailSubject)
The subject line for email messages. EmailSubject is allowed only if EmailSendingAccount is DEVELOPER.
emailSubject
- The subject line for email messages. EmailSubject is allowed only if EmailSendingAccount is DEVELOPER.public String getEmailSubject()
The subject line for email messages. EmailSubject is allowed only if EmailSendingAccount is DEVELOPER.
public MessageTemplateType withEmailSubject(String emailSubject)
The subject line for email messages. EmailSubject is allowed only if EmailSendingAccount is DEVELOPER.
emailSubject
- The subject line for email messages. EmailSubject is allowed only if EmailSendingAccount is DEVELOPER.public String toString()
toString
in class Object
Object.toString()
public MessageTemplateType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.