Enum DhcpDnsOption.ServerType
- java.lang.Object
-
- java.lang.Enum<DhcpDnsOption.ServerType>
-
- com.oracle.bmc.core.model.DhcpDnsOption.ServerType
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<DhcpDnsOption.ServerType>
- Enclosing class:
- DhcpDnsOption
public static enum DhcpDnsOption.ServerType extends Enum<DhcpDnsOption.ServerType> implements BmcEnum
- 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).
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CustomDnsServer
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.VcnLocal
VcnLocalPlusInternet
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DhcpDnsOption.ServerType
create(String key)
String
getValue()
static DhcpDnsOption.ServerType
valueOf(String name)
Returns the enum constant of this type with the specified name.static DhcpDnsOption.ServerType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VcnLocal
public static final DhcpDnsOption.ServerType VcnLocal
-
VcnLocalPlusInternet
public static final DhcpDnsOption.ServerType VcnLocalPlusInternet
-
CustomDnsServer
public static final DhcpDnsOption.ServerType CustomDnsServer
-
UnknownEnumValue
public static final DhcpDnsOption.ServerType UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
-
Method Detail
-
values
public static DhcpDnsOption.ServerType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DhcpDnsOption.ServerType c : DhcpDnsOption.ServerType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DhcpDnsOption.ServerType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
create
public static DhcpDnsOption.ServerType create(String key)
-
-