@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NotifyEmailType extends Object implements Serializable, Cloneable, StructuredPojo
The notify email type.
Constructor and Description |
---|
NotifyEmailType() |
Modifier and Type | Method and Description |
---|---|
NotifyEmailType |
clone() |
boolean |
equals(Object obj) |
String |
getHtmlBody()
The email HTML body.
|
String |
getSubject()
The email subject.
|
String |
getTextBody()
The email text body.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setHtmlBody(String htmlBody)
The email HTML body.
|
void |
setSubject(String subject)
The email subject.
|
void |
setTextBody(String textBody)
The email text body.
|
String |
toString()
Returns a string representation of this object.
|
NotifyEmailType |
withHtmlBody(String htmlBody)
The email HTML body.
|
NotifyEmailType |
withSubject(String subject)
The email subject.
|
NotifyEmailType |
withTextBody(String textBody)
The email text body.
|
public void setSubject(String subject)
The email subject.
subject
- The email subject.public String getSubject()
The email subject.
public NotifyEmailType withSubject(String subject)
The email subject.
subject
- The email subject.public void setHtmlBody(String htmlBody)
The email HTML body.
htmlBody
- The email HTML body.public String getHtmlBody()
The email HTML body.
public NotifyEmailType withHtmlBody(String htmlBody)
The email HTML body.
htmlBody
- The email HTML body.public void setTextBody(String textBody)
The email text body.
textBody
- The email text body.public String getTextBody()
The email text body.
public NotifyEmailType withTextBody(String textBody)
The email text body.
textBody
- The email text body.public String toString()
toString
in class Object
Object.toString()
public NotifyEmailType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.