Class ActionType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<ActionType>
com.azure.resourcemanager.cdn.models.ActionType
Defines the action to take on rule match.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ActionTypeStatic value Allow for ActionType.static final ActionTypeStatic value Block for ActionType.static final ActionTypeStatic value Log for ActionType.static final ActionTypeStatic value Redirect for ActionType. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ActionTypefromString(String name) Creates or finds a ActionType from its string representation.static Collection<ActionType>values()Gets known ActionType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
ALLOW
Static value Allow for ActionType. -
BLOCK
Static value Block for ActionType. -
LOG
Static value Log for ActionType. -
REDIRECT
Static value Redirect for ActionType.
-
-
Constructor Details
-
ActionType
public ActionType()
-
-
Method Details
-
fromString
Creates or finds a ActionType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding ActionType.
-
values
Gets known ActionType values.- Returns:
- known ActionType values.
-