Package org.jclouds.glesys.domain
Class Domain
java.lang.Object
org.jclouds.glesys.domain.Domain
Domain data for a Glesys account.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Domain.Builder
<?> builder()
boolean
int
The number of seconds a master or slave will wait before considering the data stale if it cannot reach the primary name serverint
The minimum/default TTL if the domain does not specify ttlgetName()
int
int
The number of seconds between update requests from secondary and slave name serversThe E-mail address of the person responsible for this domain (reformatted with '.' at end).int
getRetry()
The number of seconds the secondary/slave will wait before retrying when the last attempt failedint
getTtl()
TTL (time to live).int
hashCode()
boolean
protected com.google.common.base.MoreObjects.ToStringHelper
string()
toString()
-
Constructor Details
-
Domain
@ConstructorProperties({"domainname","createtime","recordcount","usingglesysnameserver","primarynameserver","responsibleperson","ttl","refresh","retry","expire","minimum"}) protected Domain(String domainName, @Nullable Date createTime, int recordCount, GleSYSBoolean useGlesysNameServer, @Nullable String primaryNameServer, @Nullable String responsiblePerson, int ttl, int refresh, int retry, int expire, int minimum)
-
-
Method Details
-
builder
-
toBuilder
-
getName
- Returns:
- the domain name, ex. "jclouds.org"
-
getCreateTime
- Returns:
- the date the domain was registered with GleSYS
-
getRecordCount
public int getRecordCount()- Returns:
- the number of DNS records for this domain
-
isUseGlesysNameServer
public boolean isUseGlesysNameServer()- Returns:
- true if a GleSYS nameserver holds the records
-
getPrimaryNameServer
-
getResponsiblePerson
The E-mail address of the person responsible for this domain (reformatted with '.' at end). -
getTtl
public int getTtl()TTL (time to live). The number of seconds a domain name is cached locally before expiration and return to authoritative nameServers for updates -
getRefresh
public int getRefresh()The number of seconds between update requests from secondary and slave name servers -
getRetry
public int getRetry()The number of seconds the secondary/slave will wait before retrying when the last attempt failed -
getExpire
public int getExpire()The number of seconds a master or slave will wait before considering the data stale if it cannot reach the primary name server -
getMinimum
public int getMinimum()The minimum/default TTL if the domain does not specify ttl- See Also:
-
hashCode
public int hashCode() -
equals
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string() -
toString
-