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 |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
DomainRecord |
build() |
T |
data(String data) |
T |
domainname(String domainname) |
T |
fromDomainRecord(DomainRecord in) |
T |
host(String host) |
T |
id(String id) |
protected abstract T |
self() |
T |
ttl(int ttl) |
T |
type(String type) |
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–2021 The Apache Software Foundation. All rights reserved.