Enum DatabaseHostedIn
- java.lang.Object
- 
- java.lang.Enum<DatabaseHostedIn>
- 
- com.oracle.bmc.databasemanagement.model.DatabaseHostedIn
 
 
- 
- All Implemented Interfaces:
- BmcEnum,- Serializable,- Comparable<DatabaseHostedIn>
 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public enum DatabaseHostedIn extends Enum<DatabaseHostedIn> implements BmcEnumIndicates whether the database is a cloud database (CLOUD) or an external database (EXTERNAL).
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DatabaseHostedIncreate(String key)StringgetValue()static DatabaseHostedInvalueOf(String name)Returns the enum constant of this type with the specified name.static DatabaseHostedIn[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
Cloudpublic static final DatabaseHostedIn Cloud 
 - 
Externalpublic static final DatabaseHostedIn External 
 
- 
 - 
Method Detail- 
valuespublic static DatabaseHostedIn[] 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 (DatabaseHostedIn c : DatabaseHostedIn.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static DatabaseHostedIn 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 name
- NullPointerException- if the argument is null
 
 - 
createpublic static DatabaseHostedIn create(String key) 
 
- 
 
-