Package com.oracle.bmc.database.model
Enum InfoForNetworkGenDetails.NetworkType
- java.lang.Object
-
- java.lang.Enum<InfoForNetworkGenDetails.NetworkType>
-
- com.oracle.bmc.database.model.InfoForNetworkGenDetails.NetworkType
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<InfoForNetworkGenDetails.NetworkType>
- Enclosing class:
- InfoForNetworkGenDetails
public static enum InfoForNetworkGenDetails.NetworkType extends Enum<InfoForNetworkGenDetails.NetworkType> implements BmcEnum
The network type.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Backup
Client
DisasterRecovery
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InfoForNetworkGenDetails.NetworkType
create(String key)
String
getValue()
static InfoForNetworkGenDetails.NetworkType
valueOf(String name)
Returns the enum constant of this type with the specified name.static InfoForNetworkGenDetails.NetworkType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Client
public static final InfoForNetworkGenDetails.NetworkType Client
-
Backup
public static final InfoForNetworkGenDetails.NetworkType Backup
-
DisasterRecovery
public static final InfoForNetworkGenDetails.NetworkType DisasterRecovery
-
-
Method Detail
-
values
public static InfoForNetworkGenDetails.NetworkType[] 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 (InfoForNetworkGenDetails.NetworkType c : InfoForNetworkGenDetails.NetworkType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InfoForNetworkGenDetails.NetworkType 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 InfoForNetworkGenDetails.NetworkType create(String key)
-
-