@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BulkEmailContent extends Object implements Serializable, Cloneable, StructuredPojo
An object that contains the body of the message. You can specify a template message.
Constructor and Description |
---|
BulkEmailContent() |
Modifier and Type | Method and Description |
---|---|
BulkEmailContent |
clone() |
boolean |
equals(Object obj) |
Template |
getTemplate()
The template to use for the bulk email message.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setTemplate(Template template)
The template to use for the bulk email message.
|
String |
toString()
Returns a string representation of this object.
|
BulkEmailContent |
withTemplate(Template template)
The template to use for the bulk email message.
|
public void setTemplate(Template template)
The template to use for the bulk email message.
template
- The template to use for the bulk email message.public Template getTemplate()
The template to use for the bulk email message.
public BulkEmailContent withTemplate(Template template)
The template to use for the bulk email message.
template
- The template to use for the bulk email message.public String toString()
toString
in class Object
Object.toString()
public BulkEmailContent clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.