Class ModelType
- java.lang.Object
-
- com.azure.core.util.ExpandableStringEnum<ModelType>
-
- com.azure.resourcemanager.machinelearning.models.ModelType
-
public final class ModelType extends com.azure.core.util.ExpandableStringEnum<ModelType>
Defines values for ModelType.
-
-
Field Summary
Fields Modifier and Type Field Description static ModelType
CUSTOM_MODEL
Static value CustomModel for ModelType.static ModelType
MLFLOW_MODEL
Static value MLFlowModel for ModelType.static ModelType
TRITON_MODEL
Static value TritonModel for ModelType.
-
Constructor Summary
Constructors Constructor Description ModelType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ModelType
fromString(String name)
Creates or finds a ModelType from its string representation.static Collection<ModelType>
values()
Gets known ModelType values.
-
-
-
Field Detail
-
CUSTOM_MODEL
public static final ModelType CUSTOM_MODEL
Static value CustomModel for ModelType.
-
MLFLOW_MODEL
public static final ModelType MLFLOW_MODEL
Static value MLFlowModel for ModelType.
-
TRITON_MODEL
public static final ModelType TRITON_MODEL
Static value TritonModel for ModelType.
-
-
Method Detail
-
fromString
public static ModelType fromString(String name)
Creates or finds a ModelType from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding ModelType.
-
values
public static Collection<ModelType> values()
Gets known ModelType values.- Returns:
- known ModelType values.
-
-