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

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.NSData
All Implemented Interfaces:
Map<String,Object>

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

Corresponds to the binary representation of the NS (Name Server) RData

Example

 import static org.jclouds.dynect.v3.domain.rdata.NSData.ns;
 ...
 NSData rdata = ns("ns.foo.com.");
 

See Also:
RFC 1035

Nested Class Summary
static class NSData.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 NSData.Builder builder()
           
protected  Map<String,Object> delegate()
           
 String getNsdname()
          domain-name which specifies a host which should be authoritative for the specified class and domain.
static NSData ns(String nsdname)
           
 NSData.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

getNsdname

public String getNsdname()
domain-name which specifies a host which should be authoritative for the specified class and domain.


delegate

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

ns

public static NSData ns(String nsdname)

builder

public static NSData.Builder builder()

toBuilder

public NSData.Builder toBuilder()


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