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 Object implements net.anotheria.asg.data.Builder<MailTemplate>
-
-
Constructor Summary
Constructors Constructor Description MailTemplateBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MailTemplatebuild()MailTemplateBuilderlocalizations(List<String> aValue)Sets the value of the localizations attribute.MailTemplateBuildermessage(String aValue)Sets the value of the message attribute.MailTemplateBuildermjml(String aValue)Sets the value of the mjml attribute.MailTemplateBuildername(String aValue)Sets the value of the name attribute.MailTemplateBuilderplainMessage(String aValue)Sets the value of the plainMessage attribute.MailTemplateBuildersender(String aValue)Sets the value of the sender attribute.MailTemplateBuildersenderName(String aValue)Sets the value of the senderName attribute.MailTemplateBuildersubject(String aValue)Sets the value of the subject attribute.
-
-
-
Method Detail
-
name
public MailTemplateBuilder name(String aValue)
Sets the value of the name attribute.
-
sender
public MailTemplateBuilder sender(String aValue)
Sets the value of the sender attribute.
-
senderName
public MailTemplateBuilder senderName(String aValue)
Sets the value of the senderName attribute.
-
subject
public MailTemplateBuilder subject(String aValue)
Sets the value of the subject attribute.
-
message
public MailTemplateBuilder message(String aValue)
Sets the value of the message attribute.
-
mjml
public MailTemplateBuilder mjml(String aValue)
Sets the value of the mjml attribute.
-
plainMessage
public MailTemplateBuilder plainMessage(String aValue)
Sets the value of the plainMessage attribute.
-
localizations
public MailTemplateBuilder localizations(List<String> aValue)
Sets the value of the localizations attribute.
-
build
public MailTemplate build()
- Specified by:
buildin interfacenet.anotheria.asg.data.Builder<MailTemplate>
-
-