public abstract static class EmailAccount.Builder<T extends EmailAccount.Builder<T>> extends Object
Modifier and Type | Field and 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 and Description |
---|
EmailAccount.Builder() |
Modifier and Type | Method and 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() |
protected String account
protected EmailQuota quota
protected int antispamLevel
protected boolean antiVirus
protected boolean autoRespond
protected String autoRespondMessage
protected boolean autoRespondSaveEmail
protected Date created
protected Date modified
protected abstract T self()
public T account(String account)
EmailAccount.getAccount()
public T quota(EmailQuota quota)
EmailAccount.getQuota()
public T antispamLevel(int antispamLevel)
EmailAccount.getAntispamLevel()
public T antiVirus(boolean antiVirus)
EmailAccount.isAntiVirus()
public T autoRespond(boolean autoRespond)
EmailAccount.isAutoRespond()
public T autoRespondMessage(String autoRespondMessage)
EmailAccount.getAutoRespondMessage()
public T autoRespondSaveEmail(boolean autoRespondSaveEmail)
public T created(Date created)
EmailAccount.getCreated()
public T modified(Date modified)
EmailAccount.getModified()
public EmailAccount build()
public T fromEmailAccount(EmailAccount in)
Copyright © 2009-2013 jclouds. All Rights Reserved.