Enum IndexConfig.IndexConfigType
- java.lang.Object
-
- java.lang.Enum<IndexConfig.IndexConfigType>
-
- com.oracle.bmc.generativeaiagent.model.IndexConfig.IndexConfigType
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<IndexConfig.IndexConfigType>
- Enclosing class:
- IndexConfig
public static enum IndexConfig.IndexConfigType extends Enum<IndexConfig.IndexConfigType> implements BmcEnum
The type of index.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DefaultIndexConfig
OciDatabaseConfig
OciOpenSearchIndexConfig
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 IndexConfig.IndexConfigType
create(String key)
String
getValue()
static IndexConfig.IndexConfigType
valueOf(String name)
Returns the enum constant of this type with the specified name.static IndexConfig.IndexConfigType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DefaultIndexConfig
public static final IndexConfig.IndexConfigType DefaultIndexConfig
-
OciOpenSearchIndexConfig
public static final IndexConfig.IndexConfigType OciOpenSearchIndexConfig
-
OciDatabaseConfig
public static final IndexConfig.IndexConfigType OciDatabaseConfig
-
UnknownEnumValue
public static final IndexConfig.IndexConfigType 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 IndexConfig.IndexConfigType[] 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 (IndexConfig.IndexConfigType c : IndexConfig.IndexConfigType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IndexConfig.IndexConfigType 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 IndexConfig.IndexConfigType create(String key)
-
-