public static class MailHostConfiguration.Builder extends BuilderSupport
NOT_BLANK
Constructor and Description |
---|
Builder() |
Builder(MailHostConfiguration other) |
Modifier and Type | Method and Description |
---|---|
MailHostConfiguration |
build() |
MailHostConfiguration.Builder |
hostname(String value) |
MailHostConfiguration.Builder |
password(String value) |
MailHostConfiguration.Builder |
port(Integer value) |
MailHostConfiguration.Builder |
protocol(MailProtocol value) |
MailHostConfiguration.Builder |
requireStartTls(boolean value) |
MailHostConfiguration.Builder |
username(String value) |
MailHostConfiguration.Builder |
useStartTls(boolean value) |
addIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlank
public Builder()
public Builder(@Nonnull MailHostConfiguration other)
@Nonnull public MailHostConfiguration build()
@Nonnull public MailHostConfiguration.Builder hostname(@Nonnull String value)
@Nonnull public MailHostConfiguration.Builder password(@Nullable String value)
@Nonnull public MailHostConfiguration.Builder port(@Nullable Integer value)
@Nonnull public MailHostConfiguration.Builder protocol(@Nonnull MailProtocol value)
@Nonnull public MailHostConfiguration.Builder requireStartTls(boolean value)
@Nonnull public MailHostConfiguration.Builder username(@Nullable String value)
@Nonnull public MailHostConfiguration.Builder useStartTls(boolean value)
Copyright © 2022 Atlassian. All rights reserved.