org.jclouds.dynect.v3.domain.rdata
Class SOAData

java.lang.Object
  extended by com.google.common.collect.ForwardingObject
      extended by com.google.common.collect.ForwardingMap<String,Object>
          extended by org.jclouds.dynect.v3.domain.rdata.SOAData
All Implemented Interfaces:
Map<String,Object>

public class SOAData
extends com.google.common.collect.ForwardingMap<String,Object>

Corresponds to the binary representation of the SOA (Start of Authority) RData

Example

 SOAData rdata = SOAData.builder()
                        .rname("foo.com.")
                        .mname("admin.foo.com.")
                        .serial(1)
                        .refresh(3600)
                        .retry(600)
                        .expire(604800)
                        .minimum(60).build()
 

See Also:
RFC 1035

Nested Class Summary
static class SOAData.Builder
           
 
Nested classes/interfaces inherited from class com.google.common.collect.ForwardingMap
com.google.common.collect.ForwardingMap.StandardEntrySet, com.google.common.collect.ForwardingMap.StandardKeySet, com.google.common.collect.ForwardingMap.StandardValues
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Method Summary
static SOAData.Builder builder()
           
protected  Map<String,Object> delegate()
           
 int getExpire()
          time value that specifies the upper limit on the time interval that can elapse before the zone is no longer authoritative.
 int getMinimum()
          minimum TTL field that should be exported with any RR from this zone.
 String getMname()
          domain-name of the name server that was the original or primary source of data for this zone
 int getRefresh()
          time interval before the zone should be refreshed
 int getRetry()
          time interval that should elapse before a failed refresh should be retried
 String getRname()
          domain-name which specifies the mailbox of the person responsible for this zone.
 int getSerial()
          version number of the original copy of the zone.
 SOAData.Builder toBuilder()
           
 
Methods inherited from class com.google.common.collect.ForwardingMap
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, standardClear, standardContainsKey, standardContainsValue, standardEquals, standardHashCode, standardIsEmpty, standardPutAll, standardRemove, standardToString, values
 
Methods inherited from class com.google.common.collect.ForwardingObject
toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getMname

public String getMname()
domain-name of the name server that was the original or primary source of data for this zone


getRname

public String getRname()
domain-name which specifies the mailbox of the person responsible for this zone.


getSerial

public int getSerial()
version number of the original copy of the zone.


getRefresh

public int getRefresh()
time interval before the zone should be refreshed


getRetry

public int getRetry()
time interval that should elapse before a failed refresh should be retried


getExpire

public int getExpire()
time value that specifies the upper limit on the time interval that can elapse before the zone is no longer authoritative.


getMinimum

public int getMinimum()
minimum TTL field that should be exported with any RR from this zone.


delegate

protected Map<String,Object> delegate()
Overrides:
delegate in class com.google.common.collect.ForwardingMap<String,Object>

builder

public static SOAData.Builder builder()

toBuilder

public SOAData.Builder toBuilder()


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