org.jclouds.glesys.options
Class DomainOptions

java.lang.Object
  extended by org.jclouds.http.options.BaseHttpRequestOptions
      extended by org.jclouds.glesys.options.DomainOptions
All Implemented Interfaces:
HttpRequestOptions
Direct Known Subclasses:
AddDomainOptions

public class DomainOptions
extends BaseHttpRequestOptions

Author:
Adam Lowe

Nested Class Summary
static class DomainOptions.Builder
           
 
Field Summary
 
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters
 
Constructor Summary
DomainOptions()
           
 
Method Summary
 DomainOptions expire(int expire)
          Configure the number of seconds a master or slave will wait before considering the data stale if it cannot reach the primary name server
 DomainOptions minimum(int minimum)
          Configure the minimum/default TTL if the domain does not specify ttl
 DomainOptions primaryNameServer(String primaryNameServer)
          Configure the primary DNS server for this domain.
 DomainOptions refresh(int refresh)
          Configure the number of seconds between update requests from secondary and slave name servers
 DomainOptions responsiblePerson(String responsiblePerson)
          Configure the E-mail address of the person responsible for this domain (usually attached to MX records).
 DomainOptions retry(int retry)
          Configure the number of seconds the secondary/slave will wait before retrying when the last attempt failed
 DomainOptions ttl(int ttl)
          TTL (time to live).
 
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions
buildFormParameters, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DomainOptions

public DomainOptions()
Method Detail

primaryNameServer

public DomainOptions primaryNameServer(String primaryNameServer)
Configure the primary DNS server for this domain.


responsiblePerson

public DomainOptions responsiblePerson(String responsiblePerson)
Configure the E-mail address of the person responsible for this domain (usually attached to MX records).


ttl

public DomainOptions ttl(int ttl)
TTL (time to live). The number of seconds a domain name is cached locally before expiration and return to authoritative nameservers for updates


refresh

public DomainOptions refresh(int refresh)
Configure the number of seconds between update requests from secondary and slave name servers


retry

public DomainOptions retry(int retry)
Configure the number of seconds the secondary/slave will wait before retrying when the last attempt failed


expire

public DomainOptions expire(int expire)
Configure the number of seconds a master or slave will wait before considering the data stale if it cannot reach the primary name server


minimum

public DomainOptions minimum(int minimum)
Configure the minimum/default TTL if the domain does not specify ttl

See Also:
ttl(int)


Copyright © 2009-2012 jclouds. All Rights Reserved.