org.jclouds.glesys.domain
Class EmailAccount.Builder<T extends EmailAccount.Builder<T>>

java.lang.Object
  extended by 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
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
EmailAccount.Builder()
           
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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
Constructor Detail

EmailAccount.Builder

public EmailAccount.Builder()
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)


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.