org.jclouds.glesys.domain
Class DomainRecord

java.lang.Object
  extended by org.jclouds.glesys.domain.DomainRecord

public class DomainRecord
extends Object

DNS record data.

See Also:

Nested Class Summary
static class DomainRecord.Builder<T extends DomainRecord.Builder<T>>
           
 
Constructor Summary
protected DomainRecord(String id, String domainname, String host, String type, String data, int ttl)
           
 
Method Summary
static DomainRecord.Builder<?> builder()
           
 boolean equals(Object obj)
           
 String getData()
           
 String getHost()
           
 String getId()
           
 String getname()
           
 int getTtl()
           
 String getType()
           
 int hashCode()
           
protected  com.google.common.base.Objects.ToStringHelper string()
           
 DomainRecord.Builder<?> toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DomainRecord

@ConstructorProperties(value={"recordid","domainname","host","type","data","ttl"})
protected DomainRecord(@Nullable
                                                  String id,
                                                  String domainname,
                                                  String host,
                                                  String type,
                                                  @Nullable
                                                  String data,
                                                  int ttl)
Method Detail

builder

public static DomainRecord.Builder<?> builder()

toBuilder

public DomainRecord.Builder<?> toBuilder()

getId

public String getId()
Returns:
the id of the record used to modify it via the API
See Also:
DomainApi

getname

public String getname()
Returns:
the zone content of the record

getHost

public String getHost()
Returns:
the host content of the record

getType

public String getType()
Returns:
the type of the record, ex. "A"

getData

@Nullable
public String getData()
Returns:
the data content of the record

getTtl

public int getTtl()
Returns:
the TTL/Time-to-live for the record

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


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