Enum OlvmBootProtocol.Protocol
- java.lang.Object
-
- java.lang.Enum<OlvmBootProtocol.Protocol>
-
- com.oracle.bmc.cloudmigrations.model.OlvmBootProtocol.Protocol
-
- All Implemented Interfaces:
BmcEnum,Serializable,Comparable<OlvmBootProtocol.Protocol>
- Enclosing class:
- OlvmBootProtocol
public static enum OlvmBootProtocol.Protocol extends Enum<OlvmBootProtocol.Protocol> implements BmcEnum
IP address assignment methods to a NIC.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AutoconfDhcpNonePolyDhcpAutoconfStatic
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OlvmBootProtocol.Protocolcreate(String key)StringgetValue()static OlvmBootProtocol.ProtocolvalueOf(String name)Returns the enum constant of this type with the specified name.static OlvmBootProtocol.Protocol[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Autoconf
public static final OlvmBootProtocol.Protocol Autoconf
-
Dhcp
public static final OlvmBootProtocol.Protocol Dhcp
-
None
public static final OlvmBootProtocol.Protocol None
-
PolyDhcpAutoconf
public static final OlvmBootProtocol.Protocol PolyDhcpAutoconf
-
Static
public static final OlvmBootProtocol.Protocol Static
-
-
Method Detail
-
values
public static OlvmBootProtocol.Protocol[] 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 (OlvmBootProtocol.Protocol c : OlvmBootProtocol.Protocol.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OlvmBootProtocol.Protocol 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 OlvmBootProtocol.Protocol create(String key)
-
-