@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CampaignEmailMessage extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
CampaignEmailMessage() |
| Modifier and Type | Method and Description |
|---|---|
CampaignEmailMessage |
clone() |
boolean |
equals(Object obj) |
String |
getBody()
The email text body.
|
String |
getHtmlBody()
The email html body.
|
String |
getTitle()
The email title (Or subject).
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setBody(String body)
The email text body.
|
void |
setHtmlBody(String htmlBody)
The email html body.
|
void |
setTitle(String title)
The email title (Or subject).
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CampaignEmailMessage |
withBody(String body)
The email text body.
|
CampaignEmailMessage |
withHtmlBody(String htmlBody)
The email html body.
|
CampaignEmailMessage |
withTitle(String title)
The email title (Or subject).
|
public void setBody(String body)
body - The email text body.public String getBody()
public CampaignEmailMessage withBody(String body)
body - The email text body.public void setHtmlBody(String htmlBody)
htmlBody - The email html body.public String getHtmlBody()
public CampaignEmailMessage withHtmlBody(String htmlBody)
htmlBody - The email html body.public void setTitle(String title)
title - The email title (Or subject).public String getTitle()
public CampaignEmailMessage withTitle(String title)
title - The email title (Or subject).public String toString()
toString in class ObjectObject.toString()public CampaignEmailMessage clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2017. All rights reserved.