Enum CreateDataSourceDetails.ConnectionType
- java.lang.Object
-
- java.lang.Enum<CreateDataSourceDetails.ConnectionType>
-
- com.oracle.bmc.generativeai.model.CreateDataSourceDetails.ConnectionType
-
- All Implemented Interfaces:
BmcEnum,Serializable,Comparable<CreateDataSourceDetails.ConnectionType>
- Enclosing class:
- CreateDataSourceDetails
public static enum CreateDataSourceDetails.ConnectionType extends Enum<CreateDataSourceDetails.ConnectionType> implements BmcEnum
Specifies the type of underlying connection.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DatabaseToolsConnection
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateDataSourceDetails.ConnectionTypecreate(String key)StringgetValue()static CreateDataSourceDetails.ConnectionTypevalueOf(String name)Returns the enum constant of this type with the specified name.static CreateDataSourceDetails.ConnectionType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DatabaseToolsConnection
public static final CreateDataSourceDetails.ConnectionType DatabaseToolsConnection
-
-
Method Detail
-
values
public static CreateDataSourceDetails.ConnectionType[] 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 (CreateDataSourceDetails.ConnectionType c : CreateDataSourceDetails.ConnectionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CreateDataSourceDetails.ConnectionType 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 CreateDataSourceDetails.ConnectionType create(String key)
-
-