org.jclouds.rackspace.clouddns.v1.domain
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.
|
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)
|
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)
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.