public class NotifyEmailType
extends java.lang.Object
implements java.io.Serializable
The notify email type.
| Constructor and Description |
|---|
NotifyEmailType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getHtmlBody()
The email HTML body.
|
java.lang.String |
getSubject()
The email subject.
|
java.lang.String |
getTextBody()
The email text body.
|
int |
hashCode() |
void |
setHtmlBody(java.lang.String htmlBody)
The email HTML body.
|
void |
setSubject(java.lang.String subject)
The email subject.
|
void |
setTextBody(java.lang.String textBody)
The email text body.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
NotifyEmailType |
withHtmlBody(java.lang.String htmlBody)
The email HTML body.
|
NotifyEmailType |
withSubject(java.lang.String subject)
The email subject.
|
NotifyEmailType |
withTextBody(java.lang.String textBody)
The email text body.
|
public java.lang.String getSubject()
The email subject.
Constraints:
Length: 1 - 140
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}\s]+
The email subject.
public void setSubject(java.lang.String subject)
The email subject.
Constraints:
Length: 1 - 140
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}\s]+
subject - The email subject.
public NotifyEmailType withSubject(java.lang.String subject)
The email subject.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 140
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}\s]+
subject - The email subject.
public java.lang.String getHtmlBody()
The email HTML body.
Constraints:
Length: 6 - 20000
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}\s*]+
The email HTML body.
public void setHtmlBody(java.lang.String htmlBody)
The email HTML body.
Constraints:
Length: 6 - 20000
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}\s*]+
htmlBody - The email HTML body.
public NotifyEmailType withHtmlBody(java.lang.String htmlBody)
The email HTML body.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 6 - 20000
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}\s*]+
htmlBody - The email HTML body.
public java.lang.String getTextBody()
The email text body.
Constraints:
Length: 6 - 20000
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}\s*]+
The email text body.
public void setTextBody(java.lang.String textBody)
The email text body.
Constraints:
Length: 6 - 20000
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}\s*]+
textBody - The email text body.
public NotifyEmailType withTextBody(java.lang.String textBody)
The email text body.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 6 - 20000
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}\s*]+
textBody - The email text body.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object