org.jclouds.dynect.v3.domain
Class Record<D extends Map<String,Object>>

java.lang.Object
  extended by org.jclouds.dynect.v3.domain.Node
      extended by org.jclouds.dynect.v3.domain.RecordId
          extended by org.jclouds.dynect.v3.domain.Record<D>
Direct Known Subclasses:
SOARecord

public class Record<D extends Map<String,Object>>
extends RecordId


Nested Class Summary
static class Record.Builder<D extends Map<String,Object>,B extends Record.Builder<D,B>>
           
 
Constructor Summary
protected Record(String zone, String fqdn, String type, long id, int ttl, D rdata)
           
 
Method Summary
static
<D extends Map<String,Object>>
Record.Builder<D,?>
builder()
           
 D getRData()
          RData defining the record; corresponds to binary master format.
 int getTTL()
          The current ttl of the record or zero if default for the zone
protected  com.google.common.base.Objects.ToStringHelper string()
           
 Record.Builder<D,?> toBuilder()
           
 
Methods inherited from class org.jclouds.dynect.v3.domain.RecordId
equals, getId, getType, hashCode, recordIdBuilder, toString
 
Methods inherited from class org.jclouds.dynect.v3.domain.Node
create, getFQDN, getZone
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Record

@ConstructorProperties(value={"zone","fqdn","record_type","record_id","ttl","rdata"})
protected Record(String zone,
                                            String fqdn,
                                            String type,
                                            long id,
                                            int ttl,
                                            D rdata)
Method Detail

getTTL

public int getTTL()
The current ttl of the record or zero if default for the zone


getRData

public D getRData()
RData defining the record; corresponds to binary master format. Only simple data types such as String or Integer are values.


string

protected com.google.common.base.Objects.ToStringHelper string()
Overrides:
string in class RecordId

builder

public static <D extends Map<String,Object>> Record.Builder<D,?> builder()

toBuilder

public Record.Builder<D,?> toBuilder()
Overrides:
toBuilder in class RecordId


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