@Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public enum DatabaseHostedIn extends Enum<DatabaseHostedIn> implements BmcEnum
Indicates whether the database is a cloud database (CLOUD) or an external database (EXTERNAL).
Modifier and Type | Method and Description |
---|---|
static DatabaseHostedIn |
create(String key) |
String |
getValue() |
static DatabaseHostedIn |
valueOf(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.
|
public static final DatabaseHostedIn Cloud
public static final DatabaseHostedIn External
public static DatabaseHostedIn[] values()
for (DatabaseHostedIn c : DatabaseHostedIn.values()) System.out.println(c);
public static DatabaseHostedIn valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static DatabaseHostedIn create(String key)
Copyright © 2016–2025. All rights reserved.