public class EmailAccountConfig extends Object
Constructor and Description |
---|
EmailAccountConfig() |
EmailAccountConfig(String displayName,
String protocolType,
String host,
Integer port,
String socketType,
List<String> authenticationTypes,
List<NameValuePair> extraInfo,
Boolean isValidated)
Initializes a new instance of the EmailAccountConfig
|
Modifier and Type | Method and Description |
---|---|
EmailAccountConfig |
addAuthenticationTypesItem(String authenticationTypesItem)
Add an item to authenticationTypes and return this.
|
EmailAccountConfig |
addExtraInfoItem(NameValuePair extraInfoItem)
Add an item to extraInfo and return this.
|
EmailAccountConfig |
authenticationTypes(List<String> authenticationTypes)
Set authenticationTypes and return this.
|
EmailAccountConfig |
displayName(String displayName)
Set displayName and return this.
|
boolean |
equals(Object o) |
EmailAccountConfig |
extraInfo(List<NameValuePair> extraInfo)
Set extraInfo and return this.
|
List<String> |
getAuthenticationTypes()
Supported authentication types.
|
String |
getDisplayName()
Email account display name
|
List<NameValuePair> |
getExtraInfo()
Extra account information.
|
String |
getHost()
Email account host.
|
Integer |
getPort()
Port.
|
String |
getProtocolType()
Type of connection protocol.
|
String |
getSocketType()
Email account security mode Enum, available values: None, SSLExplicit, SSLImplicit, SSLAuto, Auto
|
int |
hashCode() |
EmailAccountConfig |
host(String host)
Set host and return this.
|
Boolean |
isIsValidated()
Determines that configuration validated.
|
EmailAccountConfig |
isValidated(Boolean isValidated)
Set isValidated and return this.
|
EmailAccountConfig |
port(Integer port)
Set port and return this.
|
EmailAccountConfig |
protocolType(String protocolType)
Set protocolType and return this.
|
void |
setAuthenticationTypes(List<String> authenticationTypes)
Set authenticationTypes.
|
void |
setDisplayName(String displayName)
Set displayName.
|
void |
setExtraInfo(List<NameValuePair> extraInfo)
Set extraInfo.
|
void |
setHost(String host)
Set host.
|
void |
setIsValidated(Boolean isValidated)
Set isValidated.
|
void |
setPort(Integer port)
Set port.
|
void |
setProtocolType(String protocolType)
Set protocolType.
|
void |
setSocketType(String socketType)
Set socketType.
|
EmailAccountConfig |
socketType(String socketType)
Set socketType and return this.
|
String |
toString() |
public EmailAccountConfig()
public EmailAccountConfig(String displayName, String protocolType, String host, Integer port, String socketType, List<String> authenticationTypes, List<NameValuePair> extraInfo, Boolean isValidated)
displayName
- Email account display nameprotocolType
- Type of connection protocol. Enum, available values: IMAP, POP3, SMTP, EWS, WebDavhost
- Email account host.port
- Port.socketType
- Email account security mode Enum, available values: None, SSLExplicit, SSLImplicit, SSLAuto, AutoauthenticationTypes
- Supported authentication types. Items: Email account authentication types. Enum, available values: NoAuth, OAuth2, PasswordCleartext, PasswordEncrypted, SmtpAfterPop, ClientIpAddressextraInfo
- Extra account information.isValidated
- Determines that configuration validated. Set to false if validation skipped.public EmailAccountConfig displayName(String displayName)
displayName
- Email account display namepublic String getDisplayName()
public void setDisplayName(String displayName)
displayName
- Email account display namepublic EmailAccountConfig protocolType(String protocolType)
protocolType
- Type of connection protocol. Enum, available values: IMAP, POP3, SMTP, EWS, WebDavpublic String getProtocolType()
public void setProtocolType(String protocolType)
protocolType
- Type of connection protocol. Enum, available values: IMAP, POP3, SMTP, EWS, WebDavpublic EmailAccountConfig host(String host)
host
- Email account host.public String getHost()
public void setHost(String host)
host
- Email account host.public EmailAccountConfig port(Integer port)
port
- Port.public Integer getPort()
public void setPort(Integer port)
port
- Port.public EmailAccountConfig socketType(String socketType)
socketType
- Email account security mode Enum, available values: None, SSLExplicit, SSLImplicit, SSLAuto, Autopublic String getSocketType()
public void setSocketType(String socketType)
socketType
- Email account security mode Enum, available values: None, SSLExplicit, SSLImplicit, SSLAuto, Autopublic EmailAccountConfig authenticationTypes(List<String> authenticationTypes)
authenticationTypes
- Supported authentication types. Items: Email account authentication types. Enum, available values: NoAuth, OAuth2, PasswordCleartext, PasswordEncrypted, SmtpAfterPop, ClientIpAddresspublic EmailAccountConfig addAuthenticationTypesItem(String authenticationTypesItem)
authenticationTypesItem
- An item of: Supported authentication types.public List<String> getAuthenticationTypes()
public void setAuthenticationTypes(List<String> authenticationTypes)
authenticationTypes
- Supported authentication types. Items: Email account authentication types. Enum, available values: NoAuth, OAuth2, PasswordCleartext, PasswordEncrypted, SmtpAfterPop, ClientIpAddresspublic EmailAccountConfig extraInfo(List<NameValuePair> extraInfo)
extraInfo
- Extra account information.public EmailAccountConfig addExtraInfoItem(NameValuePair extraInfoItem)
extraInfoItem
- An item of: Extra account information.public List<NameValuePair> getExtraInfo()
public void setExtraInfo(List<NameValuePair> extraInfo)
extraInfo
- Extra account information.public EmailAccountConfig isValidated(Boolean isValidated)
isValidated
- Determines that configuration validated. Set to false if validation skipped.public Boolean isIsValidated()
public void setIsValidated(Boolean isValidated)
isValidated
- Determines that configuration validated. Set to false if validation skipped.Copyright © 2020. All rights reserved.