@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; useful for testing and debugging.
|
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
- The message template for email messages.public String getEmailMessage()
The message template for email messages.
public MessageTemplateType withEmailMessage(String emailMessage)
The message template for email messages.
emailMessage
- The message template for email messages.public void setEmailSubject(String emailSubject)
The subject line for email messages.
emailSubject
- The subject line for email messages.public String getEmailSubject()
The subject line for email messages.
public MessageTemplateType withEmailSubject(String emailSubject)
The subject line for email messages.
emailSubject
- The subject line for email messages.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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.