Class Domain
- java.lang.Object
-
- org.jclouds.rackspace.clouddns.v1.domain.Domain
-
public class Domain extends Object
A domain is an entity/container of all DNS-related information containing one or more records. Within Rackspace DNS, the account which creates the domain is the domain owner.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Domain.Format
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
protected Domain
from(Domain in)
int
getAccountId()
com.google.common.base.Optional<String>
getComment()
Date
getCreated()
String
getEmail()
int
getId()
String
getName()
Set<String>
getNameservers()
Set<RecordDetail>
getRecords()
Set<Subdomain>
getSubdomains()
int
getTTL()
Date
getUpdated()
int
hashCode()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
String
toString()
-
-
-
Constructor Detail
-
Domain
@ConstructorProperties({"id","name","emailAddress","comment","created","updated","accountId","ttl","nameservers","subdomains","recordsList"}) protected Domain(int id, String name, String email, @Nullable String comment, Date created, Date updated, int accountId, int ttl, @Nullable Set<String> nameservers, @Nullable Set<Subdomain> nameToSubdomain, @Nullable Set<RecordDetail> records)
-
-
Method Detail
-
getId
public int getId()
-
getName
public String getName()
-
getEmail
public String getEmail()
-
getComment
public com.google.common.base.Optional<String> getComment()
-
getCreated
public Date getCreated()
-
getUpdated
public Date getUpdated()
-
getAccountId
public int getAccountId()
-
getTTL
public int getTTL()
-
getRecords
public Set<RecordDetail> getRecords()
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-
-