org.jclouds.glesys.domain
Class Domain
java.lang.Object
org.jclouds.glesys.domain.Domain
- All Implemented Interfaces:
- Comparable<Domain>
public class Domain
- extends Object
- implements Comparable<Domain>
Domain data for a Glesys account.
- Author:
- Adam Lowe
- See Also:
Constructor Summary |
Domain(String domainName,
Date createTime,
int recordCount,
boolean useGlesysNameServer)
|
Domain
public Domain(String domainName,
Date createTime,
int recordCount,
boolean useGlesysNameServer)
builder
public static Domain.Builder builder()
getDomainName
public String getDomainName()
- Returns:
- the domain name, ex. "jclouds.org"
getCreateTime
public Date getCreateTime()
- Returns:
- the date the domain was registered with GleSYS
getRecordCount
public int getRecordCount()
- Returns:
- the number of DNS records for this domain
isGlesysNameServer
public boolean isGlesysNameServer()
- Returns:
- true if a GleSYS nameserver holds the records
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
compareTo
public int compareTo(Domain other)
- Specified by:
compareTo
in interface Comparable<Domain>
equals
public boolean equals(Object object)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009-2012 jclouds. All Rights Reserved.