@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 |
getFromAddress()
The email address used to send the email from.
|
String |
getHtmlBody()
The email html body.
|
String |
getTitle()
The email title (Or subject).
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBody(String body)
The email text body.
|
void |
setFromAddress(String fromAddress)
The email address used to send the email from.
|
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 |
withFromAddress(String fromAddress)
The email address used to send the email from.
|
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 setFromAddress(String fromAddress)
fromAddress
- The email address used to send the email from. Defaults to use FromAddress specified in the Email Channel.public String getFromAddress()
public CampaignEmailMessage withFromAddress(String fromAddress)
fromAddress
- The email address used to send the email from. Defaults to use FromAddress specified in the Email Channel.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 Object
Object.toString()
public CampaignEmailMessage 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.