Package com.oracle.bmc.datasafe.model
Enum InfrastructureType
- java.lang.Object
-
- java.lang.Enum<InfrastructureType>
-
- com.oracle.bmc.datasafe.model.InfrastructureType
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<InfrastructureType>
@Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public enum InfrastructureType extends Enum<InfrastructureType> implements BmcEnum
The infrastructure type the database is running on.Allowed values are - ORACLE_CLOUD - Represents that the database is running on the Oracle Cloud Infrastructure. - CLOUD_AT_CUSTOMER - Represents that the database is running on Oracle Cloud@Customer infrastructure. - ON_PREMISES - Represents that the database is running on on-premises infrastructure. - NON_ORACLE_CLOUD - Represents that the database is running on non-Oracle cloud infrastructure.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CloudAtCustomer
NonOracleCloud
OnPremises
OracleCloud
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 Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InfrastructureType
create(String key)
String
getValue()
static InfrastructureType
valueOf(String name)
Returns the enum constant of this type with the specified name.static InfrastructureType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OracleCloud
public static final InfrastructureType OracleCloud
-
CloudAtCustomer
public static final InfrastructureType CloudAtCustomer
-
OnPremises
public static final InfrastructureType OnPremises
-
NonOracleCloud
public static final InfrastructureType NonOracleCloud
-
UnknownEnumValue
public static final InfrastructureType 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 InfrastructureType[] 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 (InfrastructureType c : InfrastructureType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InfrastructureType 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 InfrastructureType create(String key)
-
-