Class DhcpDnsOption.Builder
- java.lang.Object
-
- com.oracle.bmc.vnmonitoring.model.DhcpDnsOption.Builder
-
- Enclosing class:
- DhcpDnsOption
public static class DhcpDnsOption.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DhcpDnsOption
build()
DhcpDnsOption.Builder
copy(DhcpDnsOption model)
DhcpDnsOption.Builder
customDnsServers(List<String> customDnsServers)
If you set serverType to CustomDnsServer, specify the IP address of at least one DNS server of your choice (three maximum).DhcpDnsOption.Builder
serverType(DhcpDnsOption.ServerType serverType)
- VcnLocal: Reserved for future use.
-
-
-
Method Detail
-
customDnsServers
public DhcpDnsOption.Builder customDnsServers(List<String> customDnsServers)
If you set serverType to CustomDnsServer, specify the IP address of at least one DNS server of your choice (three maximum).- Parameters:
customDnsServers
- the value to set- Returns:
- this builder
-
serverType
public DhcpDnsOption.Builder serverType(DhcpDnsOption.ServerType serverType)
- VcnLocal: Reserved for future use.
**VcnLocalPlusInternet:** Also referred to as "Internet and VCN Resolver". Instances can resolve internet hostnames (no internet gateway is required), and can resolve hostnames of instances in the VCN. This is the default value in the default set of DHCP options in the VCN. For the Internet and VCN Resolver to work across the VCN, there must also be a DNS label set for the VCN, a DNS label set for each subnet, and a hostname for each instance. The Internet and VCN Resolver also enables reverse DNS lookup, which lets you determine the hostname corresponding to the private IP address. For more information, see [DNS in Your Virtual Cloud Network](https://docs.oracle.com/iaas/Content/Network/Concepts/dns.htm).
**CustomDnsServer:** Instances use a DNS server of your choice (three maximum).
- Parameters:
serverType
- the value to set- Returns:
- this builder
-
build
public DhcpDnsOption build()
-
copy
public DhcpDnsOption.Builder copy(DhcpDnsOption model)
-
-