public abstract static class DomainRecord.Builder<T extends DomainRecord.Builder<T>> extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
data |
protected String |
domainname |
protected String |
host |
protected String |
id |
protected int |
ttl |
protected String |
type |
Constructor and Description |
---|
DomainRecord.Builder() |
protected String id
protected String domainname
protected String host
protected String type
protected String data
protected int ttl
protected abstract T self()
public T id(String id)
DomainRecord.getId()
public T domainname(String domainname)
DomainRecord.getname()
public T host(String host)
DomainRecord.getHost()
public T type(String type)
DomainRecord.getType()
public T data(String data)
DomainRecord.getData()
public T ttl(int ttl)
DomainRecord.getTtl()
public DomainRecord build()
public T fromDomainRecord(DomainRecord in)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.