Package org.jclouds.glesys.options
Class DomainOptions
- java.lang.Object
-
- org.jclouds.http.options.BaseHttpRequestOptions
-
- org.jclouds.glesys.options.DomainOptions
-
- All Implemented Interfaces:
HttpRequestOptions
- Direct Known Subclasses:
AddDomainOptions
public class DomainOptions extends BaseHttpRequestOptions
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDomainOptions.Builder
-
Field Summary
-
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters
-
-
Constructor Summary
Constructors Constructor Description DomainOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DomainOptionsexpire(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 serverDomainOptionsminimum(int minimum)Configure the minimum/default TTL if the domain does not specify ttlDomainOptionsprimaryNameServer(String primaryNameServer)Configure the primary DNS server for this domain.DomainOptionsrefresh(int refresh)Configure the number of seconds between update requests from secondary and slave name serversDomainOptionsresponsiblePerson(String responsiblePerson)Configure the E-mail address of the person responsible for this domain (usually attached to MX records).DomainOptionsretry(int retry)Configure the number of seconds the secondary/slave will wait before retrying when the last attempt failedDomainOptionsttl(int ttl)TTL (time to live).-
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
-
-
-
-
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)
-
-