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

java.lang.Object
  extended by org.jclouds.glesys.domain.Domain.Builder<T>
Enclosing class:
Domain

public abstract static class Domain.Builder<T extends Domain.Builder<T>>
extends Object


Field Summary
protected  Date createTime
           
protected  String domainName
           
protected  int expire
           
protected  int minimum
           
protected  String primaryNameServer
           
protected  int recordCount
           
protected  int refresh
           
protected  String responsiblePerson
           
protected  int retry
           
protected  int ttl
           
protected  boolean useGlesysNameServer
           
 
Constructor Summary
Domain.Builder()
           
 
Method Summary
 Domain build()
           
 T createTime(Date createTime)
           
 T domainName(String domainName)
           
 T expire(int expire)
           
 T fromDomain(Domain in)
           
 T minimum(int minimum)
           
 T primaryNameServer(String primaryNameServer)
           
 T recordCount(int recordCount)
           
 T refresh(int refresh)
           
 T responsiblePerson(String responsiblePerson)
           
 T retry(int retry)
           
protected abstract  T self()
           
 T ttl(int ttl)
           
 T useGlesysNameServer(boolean useGlesysNameServer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

domainName

protected String domainName

createTime

protected Date createTime

recordCount

protected int recordCount

useGlesysNameServer

protected boolean useGlesysNameServer

primaryNameServer

protected String primaryNameServer

responsiblePerson

protected String responsiblePerson

ttl

protected int ttl

refresh

protected int refresh

retry

protected int retry

expire

protected int expire

minimum

protected int minimum
Constructor Detail

Domain.Builder

public Domain.Builder()
Method Detail

self

protected abstract T self()

domainName

public T domainName(String domainName)
See Also:
Domain.getName()

createTime

public T createTime(Date createTime)
See Also:
Domain.getCreateTime()

recordCount

public T recordCount(int recordCount)
See Also:
Domain.getRecordCount()

useGlesysNameServer

public T useGlesysNameServer(boolean useGlesysNameServer)
See Also:
Domain.isUseGlesysNameServer()

primaryNameServer

public T primaryNameServer(String primaryNameServer)
See Also:
Domain.getPrimaryNameServer()

responsiblePerson

public T responsiblePerson(String responsiblePerson)
See Also:
Domain.getResponsiblePerson()

ttl

public T ttl(int ttl)
See Also:
Domain.getTtl()

refresh

public T refresh(int refresh)
See Also:
Domain.getRefresh()

retry

public T retry(int retry)
See Also:
Domain.getRetry()

expire

public T expire(int expire)
See Also:
Domain.getExpire()

minimum

public T minimum(int minimum)
See Also:
Domain.getMinimum()

build

public Domain build()

fromDomain

public T fromDomain(Domain in)


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