Package com.oracle.bmc.dns.model
Class ExternalMaster.Builder
- java.lang.Object
-
- com.oracle.bmc.dns.model.ExternalMaster.Builder
-
- Enclosing class:
- ExternalMaster
public static class ExternalMaster.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExternalMaster.Builder
address(String address)
The server’s IP address (IPv4 or IPv6).ExternalMaster
build()
ExternalMaster.Builder
copy(ExternalMaster model)
ExternalMaster.Builder
port(Integer port)
The server’s port.ExternalMaster.Builder
tsigKeyId(String tsigKeyId)
The OCID of the TSIG key.
-
-
-
Method Detail
-
address
public ExternalMaster.Builder address(String address)
The server’s IP address (IPv4 or IPv6).- Parameters:
address
- the value to set- Returns:
- this builder
-
port
public ExternalMaster.Builder port(Integer port)
The server’s port.Port value must be a value of 53, otherwise omit the port value.
- Parameters:
port
- the value to set- Returns:
- this builder
-
tsigKeyId
public ExternalMaster.Builder tsigKeyId(String tsigKeyId)
The OCID of the TSIG key.- Parameters:
tsigKeyId
- the value to set- Returns:
- this builder
-
build
public ExternalMaster build()
-
copy
public ExternalMaster.Builder copy(ExternalMaster model)
-
-