Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Endpoint |
build() |
Endpoint.Builder |
copy(Endpoint model) |
Endpoint.Builder |
hostname(String hostname)
Name of the DNS server.
|
Endpoint.Builder |
port(Long port)
Port of the DNS server.
|
public Endpoint.Builder hostname(String hostname)
Name of the DNS server.
hostname
- the value to setpublic Endpoint.Builder port(Long port)
Port of the DNS server.
port
- the value to setpublic Endpoint build()
public Endpoint.Builder copy(Endpoint model)
Copyright © 2016–2024. All rights reserved.