Class EnvironmentType
- java.lang.Object
-
- com.microsoft.rest.ExpandableStringEnum<EnvironmentType>
-
- com.microsoft.azure.cognitiveservices.knowledge.qnamaker.models.EnvironmentType
-
public final class EnvironmentType extends com.microsoft.rest.ExpandableStringEnum<EnvironmentType>
Defines values for EnvironmentType.
-
-
Field Summary
Fields Modifier and Type Field Description static EnvironmentType
PROD
Static value Prod for EnvironmentType.static EnvironmentType
TEST
Static value Test for EnvironmentType.
-
Constructor Summary
Constructors Constructor Description EnvironmentType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EnvironmentType
fromString(String name)
Creates or finds a EnvironmentType from its string representation.static Collection<EnvironmentType>
values()
-
-
-
Field Detail
-
PROD
public static final EnvironmentType PROD
Static value Prod for EnvironmentType.
-
TEST
public static final EnvironmentType TEST
Static value Test for EnvironmentType.
-
-
Method Detail
-
fromString
public static EnvironmentType fromString(String name)
Creates or finds a EnvironmentType from its string representation.- Parameters:
name
- a name to look for- Returns:
- the corresponding EnvironmentType
-
values
public static Collection<EnvironmentType> values()
- Returns:
- known EnvironmentType values
-
-