@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SimpleEmailPart extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the subject or body of an email message, represented as textual email data and the applicable character set.
Constructor and Description |
---|
SimpleEmailPart() |
Modifier and Type | Method and Description |
---|---|
SimpleEmailPart |
clone() |
boolean |
equals(Object obj) |
String |
getCharset()
The applicable character set for the message content.
|
String |
getData()
The textual data of the message content.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCharset(String charset)
The applicable character set for the message content.
|
void |
setData(String data)
The textual data of the message content.
|
String |
toString()
Returns a string representation of this object.
|
SimpleEmailPart |
withCharset(String charset)
The applicable character set for the message content.
|
SimpleEmailPart |
withData(String data)
The textual data of the message content.
|
public void setCharset(String charset)
The applicable character set for the message content.
charset
- The applicable character set for the message content.public String getCharset()
The applicable character set for the message content.
public SimpleEmailPart withCharset(String charset)
The applicable character set for the message content.
charset
- The applicable character set for the message content.public void setData(String data)
The textual data of the message content.
data
- The textual data of the message content.public String getData()
The textual data of the message content.
public SimpleEmailPart withData(String data)
The textual data of the message content.
data
- The textual data of the message content.public String toString()
toString
in class Object
Object.toString()
public SimpleEmailPart clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.