public static final class ResourceRecord.Builder extends Object
Constructor and Description |
---|
ResourceRecord.Builder() |
Modifier and Type | Method and Description |
---|---|
ResourceRecord |
build() |
ResourceRecord.Builder |
from(ResourceRecord in) |
ResourceRecord.Builder |
infoValue(Object infoValue)
adds to current values
|
ResourceRecord.Builder |
name(String dName) |
ResourceRecord.Builder |
rdata(Iterable<?> infoValues)
replaces current values
|
ResourceRecord.Builder |
rdata(Object infoValue)
replaces current values
|
ResourceRecord.Builder |
ttl(int ttl) |
ResourceRecord.Builder |
type(int type) |
public ResourceRecord.Builder name(String dName)
ResourceRecord.getName()
public ResourceRecord.Builder type(int type)
ResourceRecord.getType()
public ResourceRecord.Builder ttl(int ttl)
ResourceRecord.getTTL()
public ResourceRecord.Builder infoValue(Object infoValue)
ResourceRecord.getRData()
public ResourceRecord.Builder rdata(Object infoValue)
ResourceRecord.getRData()
public ResourceRecord.Builder rdata(Iterable<?> infoValues)
ResourceRecord.getRData()
public ResourceRecord build()
public ResourceRecord.Builder from(ResourceRecord in)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.