public class NotifyEmailType extends Object implements Serializable
The notify email type.
| Constructor and Description |
|---|
NotifyEmailType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getHtmlBody()
The HTML body.
|
String |
getSubject()
The subject.
|
String |
getTextBody()
The text body.
|
int |
hashCode() |
void |
setHtmlBody(String htmlBody)
The HTML body.
|
void |
setSubject(String subject)
The subject.
|
void |
setTextBody(String textBody)
The text body.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
NotifyEmailType |
withHtmlBody(String htmlBody)
The HTML body.
|
NotifyEmailType |
withSubject(String subject)
The subject.
|
NotifyEmailType |
withTextBody(String textBody)
The text body.
|
public String getSubject()
The subject.
Constraints:
Length: 1 - 140
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}\s]+
The subject.
public void setSubject(String subject)
The subject.
Constraints:
Length: 1 - 140
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}\s]+
subject - The subject.
public NotifyEmailType withSubject(String subject)
The 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 subject.
public String getHtmlBody()
The HTML body.
Constraints:
Length: 6 - 20000
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}\s*]+
The HTML body.
public void setHtmlBody(String htmlBody)
The HTML body.
Constraints:
Length: 6 - 20000
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}\s*]+
htmlBody - The HTML body.
public NotifyEmailType withHtmlBody(String htmlBody)
The 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 HTML body.
public String getTextBody()
The text body.
Constraints:
Length: 6 - 20000
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}\s*]+
The text body.
public void setTextBody(String textBody)
The text body.
Constraints:
Length: 6 - 20000
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}\s*]+
textBody - The text body.
public NotifyEmailType withTextBody(String textBody)
The 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 text body.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.