org.jclouds.rackspace.clouddns.v1.domain
Class Domain

java.lang.Object
  extended by 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
static class Domain.Format
           
 
Constructor Summary
protected Domain(int id, String name, String email, String comment, Date created, Date updated, int accountId, int ttl, Set<String> nameservers, Set<Subdomain> nameToSubdomain, Set<RecordDetail> records)
           
 
Method Summary
 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.Objects.ToStringHelper string()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Domain

@ConstructorProperties(value={"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()

getNameservers

public Set<String> getNameservers()

getSubdomains

public Set<Subdomain> getSubdomains()

getRecords

public Set<RecordDetail> getRecords()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

string

protected com.google.common.base.Objects.ToStringHelper string()

toString

public String toString()
Overrides:
toString in class Object

from

protected Domain from(Domain in)


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.