@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SimpleEmailPart extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
SimpleEmailPart() |
Modifier and Type | Method and Description |
---|---|
SimpleEmailPart |
clone() |
boolean |
equals(Object obj) |
String |
getCharset()
The character set of the content.
|
String |
getData()
The textual data of the content.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCharset(String charset)
The character set of the content.
|
void |
setData(String data)
The textual data of the content.
|
String |
toString()
Returns a string representation of this object.
|
SimpleEmailPart |
withCharset(String charset)
The character set of the content.
|
SimpleEmailPart |
withData(String data)
The textual data of the content.
|
public void setCharset(String charset)
charset
- The character set of the content.public String getCharset()
public SimpleEmailPart withCharset(String charset)
charset
- The character set of the content.public void setData(String data)
data
- The textual data of the content.public String getData()
public SimpleEmailPart withData(String data)
data
- The textual data of the 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.