Class MailTemplateBuilder
- java.lang.Object
-
- net.anotheria.anosite.gen.asresourcedata.data.MailTemplateBuilder
-
- All Implemented Interfaces:
net.anotheria.asg.data.Builder<MailTemplate>
public class MailTemplateBuilder extends java.lang.Object implements net.anotheria.asg.data.Builder<MailTemplate>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<java.lang.String>localizationsprotected java.lang.Stringmessageprotected java.lang.Stringmjmlprotected java.lang.Stringnameprotected java.lang.StringplainMessageprotected java.lang.Stringsenderprotected java.lang.StringsenderNameprotected java.lang.Stringsubject
-
Constructor Summary
Constructors Constructor Description MailTemplateBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MailTemplatebuild()MailTemplateBuilderlocalizations(java.util.List<java.lang.String> aValue)Sets the value of the localizations attribute.MailTemplateBuildermessage(java.lang.String aValue)Sets the value of the message attribute.MailTemplateBuildermjml(java.lang.String aValue)Sets the value of the mjml attribute.MailTemplateBuildername(java.lang.String aValue)Sets the value of the name attribute.MailTemplateBuilderplainMessage(java.lang.String aValue)Sets the value of the plainMessage attribute.MailTemplateBuildersender(java.lang.String aValue)Sets the value of the sender attribute.MailTemplateBuildersenderName(java.lang.String aValue)Sets the value of the senderName attribute.MailTemplateBuildersubject(java.lang.String aValue)Sets the value of the subject attribute.
-
-
-
Field Detail
-
name
protected java.lang.String name
-
sender
protected java.lang.String sender
-
senderName
protected java.lang.String senderName
-
subject
protected java.lang.String subject
-
message
protected java.lang.String message
-
mjml
protected java.lang.String mjml
-
plainMessage
protected java.lang.String plainMessage
-
localizations
protected java.util.List<java.lang.String> localizations
-
-
Method Detail
-
name
public MailTemplateBuilder name(java.lang.String aValue)
Sets the value of the name attribute.
-
sender
public MailTemplateBuilder sender(java.lang.String aValue)
Sets the value of the sender attribute.
-
senderName
public MailTemplateBuilder senderName(java.lang.String aValue)
Sets the value of the senderName attribute.
-
subject
public MailTemplateBuilder subject(java.lang.String aValue)
Sets the value of the subject attribute.
-
message
public MailTemplateBuilder message(java.lang.String aValue)
Sets the value of the message attribute.
-
mjml
public MailTemplateBuilder mjml(java.lang.String aValue)
Sets the value of the mjml attribute.
-
plainMessage
public MailTemplateBuilder plainMessage(java.lang.String aValue)
Sets the value of the plainMessage attribute.
-
localizations
public MailTemplateBuilder localizations(java.util.List<java.lang.String> aValue)
Sets the value of the localizations attribute.
-
build
public MailTemplate build()
- Specified by:
buildin interfacenet.anotheria.asg.data.Builder<MailTemplate>
-
-