@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SimpleEmail extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
SimpleEmail() |
Modifier and Type | Method and Description |
---|---|
SimpleEmail |
clone() |
boolean |
equals(Object obj) |
SimpleEmailPart |
getHtmlPart()
The content of the message, in HTML format.
|
SimpleEmailPart |
getSubject()
The subject of the message: A short summary of the content, which will appear in the recipient's inbox.
|
SimpleEmailPart |
getTextPart()
The content of the message, in text format.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setHtmlPart(SimpleEmailPart htmlPart)
The content of the message, in HTML format.
|
void |
setSubject(SimpleEmailPart subject)
The subject of the message: A short summary of the content, which will appear in the recipient's inbox.
|
void |
setTextPart(SimpleEmailPart textPart)
The content of the message, in text format.
|
String |
toString()
Returns a string representation of this object.
|
SimpleEmail |
withHtmlPart(SimpleEmailPart htmlPart)
The content of the message, in HTML format.
|
SimpleEmail |
withSubject(SimpleEmailPart subject)
The subject of the message: A short summary of the content, which will appear in the recipient's inbox.
|
SimpleEmail |
withTextPart(SimpleEmailPart textPart)
The content of the message, in text format.
|
public void setHtmlPart(SimpleEmailPart htmlPart)
htmlPart
- The content of the message, in HTML format. Use this for email clients that can process HTML. You can
include clickable links, formatted text, and much more in an HTML message.public SimpleEmailPart getHtmlPart()
public SimpleEmail withHtmlPart(SimpleEmailPart htmlPart)
htmlPart
- The content of the message, in HTML format. Use this for email clients that can process HTML. You can
include clickable links, formatted text, and much more in an HTML message.public void setSubject(SimpleEmailPart subject)
subject
- The subject of the message: A short summary of the content, which will appear in the recipient's inbox.public SimpleEmailPart getSubject()
public SimpleEmail withSubject(SimpleEmailPart subject)
subject
- The subject of the message: A short summary of the content, which will appear in the recipient's inbox.public void setTextPart(SimpleEmailPart textPart)
textPart
- The content of the message, in text format. Use this for text-based email clients, or clients on
high-latency networks (such as mobile devices).public SimpleEmailPart getTextPart()
public SimpleEmail withTextPart(SimpleEmailPart textPart)
textPart
- The content of the message, in text format. Use this for text-based email clients, or clients on
high-latency networks (such as mobile devices).public String toString()
toString
in class Object
Object.toString()
public SimpleEmail 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.