Class DesiredDirection
java.lang.Object
com.azure.core.util.ExpandableStringEnum<DesiredDirection>
com.azure.analytics.onlineexperimentation.models.DesiredDirection
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class DesiredDirection
extends com.azure.core.util.ExpandableStringEnum<DesiredDirection>
Desired direction for an experiment metric value.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DesiredDirectionA decrease to the metric value is desired.static final DesiredDirectionAn increase to the metric value is desired.static final DesiredDirectionNeither an increase nor a decrease to the metric value is desired, or the desired direction depends on other factors. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DesiredDirectionfromString(String name) Creates or finds a DesiredDirection from its string representation.static Collection<DesiredDirection> values()Gets known DesiredDirection values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
INCREASE
An increase to the metric value is desired. E.g., Success rate, Total revenue. -
DECREASE
A decrease to the metric value is desired. E.g., Error rate, Latency. -
NEUTRAL
Neither an increase nor a decrease to the metric value is desired, or the desired direction depends on other factors. E.g., Number of video play attempts, Number of user feedbacks.
-
-
Constructor Details
-
DesiredDirection
Deprecated.Use thefromString(String)factory method.Creates a new instance of DesiredDirection value.
-
-
Method Details
-
fromString
Creates or finds a DesiredDirection from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding DesiredDirection.
-
values
Gets known DesiredDirection values.- Returns:
- known DesiredDirection values.
-
fromString(String)factory method.