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 MailServerSettings
build()
MailServerSettings.Builder
withFromAddress(String fromAddress)
MailServerSettings.Builder
withName(String name)
MailServerSettings.Builder
withSmtpPassword(String smtpPassword)
MailServerSettings.Builder
withSmtpServerHost(String smtpServerHost)
MailServerSettings.Builder
withSmtpServerPort(Integer smtpServerPort)
MailServerSettings.Builder
withSmtpUsername(String smtpUsername)
MailServerSettings.Builder
withSubjectPrefix(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()
-
-