Class SOAData
-
public class SOAData extends com.google.common.collect.ForwardingMap<String,Object>
Corresponds to the binary representation of theSOA
(Start of Authority) RDataExample
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
Nested Classes Modifier and Type Class Description static class
SOAData.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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 zoneint
getRefresh()
time interval before the zone should be refreshedint
getRetry()
time interval that should elapse before a failed refresh should be retriedString
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 java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
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.
-
builder
public static SOAData.Builder builder()
-
toBuilder
public SOAData.Builder toBuilder()
-
-