@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EmailContent extends Object implements Serializable, Cloneable, StructuredPojo
Contains the subject and message of an email.
Constructor and Description |
---|
EmailContent() |
Modifier and Type | Method and Description |
---|---|
EmailContent |
clone() |
boolean |
equals(Object obj) |
String |
getAdditionalMessage()
The message that you want to send.
|
String |
getSubject()
The subject of the email.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAdditionalMessage(String additionalMessage)
The message that you want to send.
|
void |
setSubject(String subject)
The subject of the email.
|
String |
toString()
Returns a string representation of this object.
|
EmailContent |
withAdditionalMessage(String additionalMessage)
The message that you want to send.
|
EmailContent |
withSubject(String subject)
The subject of the email.
|
public void setSubject(String subject)
The subject of the email.
subject
- The subject of the email.public String getSubject()
The subject of the email.
public EmailContent withSubject(String subject)
The subject of the email.
subject
- The subject of the email.public void setAdditionalMessage(String additionalMessage)
The message that you want to send. The message can be up to 200 characters.
additionalMessage
- The message that you want to send. The message can be up to 200 characters.public String getAdditionalMessage()
The message that you want to send. The message can be up to 200 characters.
public EmailContent withAdditionalMessage(String additionalMessage)
The message that you want to send. The message can be up to 200 characters.
additionalMessage
- The message that you want to send. The message can be up to 200 characters.public String toString()
toString
in class Object
Object.toString()
public EmailContent clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.