Class ActionType

java.lang.Object
com.azure.core.util.ExpandableStringEnum<ActionType>
com.azure.resourcemanager.cdn.models.ActionType

public final class ActionType extends com.azure.core.util.ExpandableStringEnum<ActionType>
Defines the action to take on rule match.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final ActionType
    Static value Allow for ActionType.
    static final ActionType
    Static value Block for ActionType.
    static final ActionType
    Static value Log for ActionType.
    static final ActionType
    Static value Redirect for ActionType.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static ActionType
    Creates or finds a ActionType from its string representation.
    Gets known ActionType values.

    Methods inherited from class com.azure.core.util.ExpandableStringEnum

    equals, fromString, hashCode, toString, values

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • ALLOW

      public static final ActionType ALLOW
      Static value Allow for ActionType.
    • BLOCK

      public static final ActionType BLOCK
      Static value Block for ActionType.
    • LOG

      public static final ActionType LOG
      Static value Log for ActionType.
    • REDIRECT

      public static final ActionType REDIRECT
      Static value Redirect for ActionType.
  • Constructor Details

    • ActionType

      public ActionType()
  • Method Details

    • fromString

      public static ActionType fromString(String name)
      Creates or finds a ActionType from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding ActionType.
    • values

      public static Collection<ActionType> values()
      Gets known ActionType values.
      Returns:
      known ActionType values.