Package org.jclouds.glesys.domain
Class EmailAccount.Builder<T extends EmailAccount.Builder<T>>
- java.lang.Object
-
- org.jclouds.glesys.domain.EmailAccount.Builder<T>
-
- Enclosing class:
- EmailAccount
public abstract static class EmailAccount.Builder<T extends EmailAccount.Builder<T>> extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected String
account
protected int
antispamLevel
protected boolean
antiVirus
protected boolean
autoRespond
protected String
autoRespondMessage
protected boolean
autoRespondSaveEmail
protected Date
created
protected Date
modified
protected EmailQuota
quota
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description T
account(String account)
T
antispamLevel(int antispamLevel)
T
antiVirus(boolean antiVirus)
T
autoRespond(boolean autoRespond)
T
autoRespondMessage(String autoRespondMessage)
T
autoRespondSaveEmail(boolean autoRespondSaveEmail)
EmailAccount
build()
T
created(Date created)
T
fromEmailAccount(EmailAccount in)
T
modified(Date modified)
T
quota(EmailQuota quota)
protected abstract T
self()
-
-
-
Field Detail
-
account
protected String account
-
quota
protected EmailQuota quota
-
antispamLevel
protected int antispamLevel
-
antiVirus
protected boolean antiVirus
-
autoRespond
protected boolean autoRespond
-
autoRespondMessage
protected String autoRespondMessage
-
autoRespondSaveEmail
protected boolean autoRespondSaveEmail
-
created
protected Date created
-
modified
protected Date modified
-
-
Method Detail
-
self
protected abstract T self()
-
account
public T account(String account)
- See Also:
EmailAccount.getAccount()
-
quota
public T quota(EmailQuota quota)
- See Also:
EmailAccount.getQuota()
-
antispamLevel
public T antispamLevel(int antispamLevel)
- See Also:
EmailAccount.getAntispamLevel()
-
antiVirus
public T antiVirus(boolean antiVirus)
- See Also:
EmailAccount.isAntiVirus()
-
autoRespond
public T autoRespond(boolean autoRespond)
- See Also:
EmailAccount.isAutoRespond()
-
autoRespondMessage
public T autoRespondMessage(String autoRespondMessage)
- See Also:
EmailAccount.getAutoRespondMessage()
-
autoRespondSaveEmail
public T autoRespondSaveEmail(boolean autoRespondSaveEmail)
- See Also:
EmailAccount.isAutoRespondSaveEmail()
-
created
public T created(Date created)
- See Also:
EmailAccount.getCreated()
-
modified
public T modified(Date modified)
- See Also:
EmailAccount.getModified()
-
build
public EmailAccount build()
-
fromEmailAccount
public T fromEmailAccount(EmailAccount in)
-
-