Class WafAction

java.lang.Object
com.microsoft.rest.ExpandableStringEnum<WafAction>
com.microsoft.azure.management.cdn.WafAction

public final class WafAction extends com.microsoft.rest.ExpandableStringEnum<WafAction>
Defines values for WafAction.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final WafAction
    Static value allow for WafAction.
    static final WafAction
    Static value block for WafAction.
    static final WafAction
    Static value log for WafAction.
    static final WafAction
    Static value redirect for WafAction.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static WafAction
    Creates or finds a WafAction from its string representation.
     

    Methods inherited from class com.microsoft.rest.ExpandableStringEnum

    equals, fromString, hashCode, toString, values, withNameValue

    Methods inherited from class java.lang.Object

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

    • ALLOW

      public static final WafAction ALLOW
      Static value allow for WafAction.
    • BLOCK

      public static final WafAction BLOCK
      Static value block for WafAction.
    • LOG

      public static final WafAction LOG
      Static value log for WafAction.
    • REDIRECT

      public static final WafAction REDIRECT
      Static value redirect for WafAction.
  • Constructor Details

    • WafAction

      public WafAction()
  • Method Details

    • fromString

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

      public static Collection<WafAction> values()
      Returns:
      known WafAction values