Class MailServerSettings.Builder
- java.lang.Object
-
- com.atlassian.bamboo.testutils.backdoor.model.admin.MailServerSettings.Builder
-
- Enclosing class:
- MailServerSettings
public static class MailServerSettings.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MailServerSettingsbuild()MailServerSettings.BuilderwithFromAddress(String fromAddress)MailServerSettings.BuilderwithName(String name)MailServerSettings.BuilderwithSmtpPassword(String smtpPassword)MailServerSettings.BuilderwithSmtpServerHost(String smtpServerHost)MailServerSettings.BuilderwithSmtpServerPort(Integer smtpServerPort)MailServerSettings.BuilderwithSmtpUsername(String smtpUsername)MailServerSettings.BuilderwithSubjectPrefix(String subjectPrefix)
-
-
-
Method Detail
-
withName
public MailServerSettings.Builder withName(String name)
-
withFromAddress
public MailServerSettings.Builder withFromAddress(String fromAddress)
-
withSubjectPrefix
public MailServerSettings.Builder withSubjectPrefix(String subjectPrefix)
-
withSmtpServerHost
public MailServerSettings.Builder withSmtpServerHost(String smtpServerHost)
-
withSmtpServerPort
public MailServerSettings.Builder withSmtpServerPort(Integer smtpServerPort)
-
withSmtpUsername
public MailServerSettings.Builder withSmtpUsername(String smtpUsername)
-
withSmtpPassword
public MailServerSettings.Builder withSmtpPassword(String smtpPassword)
-
build
public MailServerSettings build()
-
-