Enum DedicatedAiCluster.UnitShape
- java.lang.Object
-
- java.lang.Enum<DedicatedAiCluster.UnitShape>
-
- com.oracle.bmc.generativeai.model.DedicatedAiCluster.UnitShape
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<DedicatedAiCluster.UnitShape>
- Enclosing class:
- DedicatedAiCluster
public static enum DedicatedAiCluster.UnitShape extends Enum<DedicatedAiCluster.UnitShape> implements BmcEnum
The shape of dedicated unit in this AI cluster.The underlying hardware configuration is hidden from customers.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EmbedCohere
LargeCohere
LargeCohereV2
LargeCohereV22
LargeGeneric
LargeGeneric2
LargeGeneric4
LargeGenericV2
Llama270
SmallCohere
SmallCohere4
SmallCohereV2
SmallGenericV2
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 DedicatedAiCluster.UnitShape
create(String key)
String
getValue()
static DedicatedAiCluster.UnitShape
valueOf(String name)
Returns the enum constant of this type with the specified name.static DedicatedAiCluster.UnitShape[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LargeCohere
public static final DedicatedAiCluster.UnitShape LargeCohere
-
LargeCohereV2
public static final DedicatedAiCluster.UnitShape LargeCohereV2
-
SmallCohere
public static final DedicatedAiCluster.UnitShape SmallCohere
-
SmallCohereV2
public static final DedicatedAiCluster.UnitShape SmallCohereV2
-
SmallCohere4
public static final DedicatedAiCluster.UnitShape SmallCohere4
-
EmbedCohere
public static final DedicatedAiCluster.UnitShape EmbedCohere
-
Llama270
public static final DedicatedAiCluster.UnitShape Llama270
-
LargeGeneric
public static final DedicatedAiCluster.UnitShape LargeGeneric
-
LargeCohereV22
public static final DedicatedAiCluster.UnitShape LargeCohereV22
-
LargeGeneric4
public static final DedicatedAiCluster.UnitShape LargeGeneric4
-
SmallGenericV2
public static final DedicatedAiCluster.UnitShape SmallGenericV2
-
LargeGeneric2
public static final DedicatedAiCluster.UnitShape LargeGeneric2
-
LargeGenericV2
public static final DedicatedAiCluster.UnitShape LargeGenericV2
-
UnknownEnumValue
public static final DedicatedAiCluster.UnitShape 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 DedicatedAiCluster.UnitShape[] 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 (DedicatedAiCluster.UnitShape c : DedicatedAiCluster.UnitShape.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DedicatedAiCluster.UnitShape 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 DedicatedAiCluster.UnitShape create(String key)
-
-