Class MatchVariable

java.lang.Object
com.azure.core.util.ExpandableStringEnum<MatchVariable>
com.azure.resourcemanager.frontdoor.models.MatchVariable

public final class MatchVariable extends com.azure.core.util.ExpandableStringEnum<MatchVariable>
Request variable to compare with.
  • Field Details

    • REMOTE_ADDR

      public static final MatchVariable REMOTE_ADDR
      Static value RemoteAddr for MatchVariable.
    • REQUEST_METHOD

      public static final MatchVariable REQUEST_METHOD
      Static value RequestMethod for MatchVariable.
    • QUERY_STRING

      public static final MatchVariable QUERY_STRING
      Static value QueryString for MatchVariable.
    • POST_ARGS

      public static final MatchVariable POST_ARGS
      Static value PostArgs for MatchVariable.
    • REQUEST_URI

      public static final MatchVariable REQUEST_URI
      Static value RequestUri for MatchVariable.
    • REQUEST_HEADER

      public static final MatchVariable REQUEST_HEADER
      Static value RequestHeader for MatchVariable.
    • REQUEST_BODY

      public static final MatchVariable REQUEST_BODY
      Static value RequestBody for MatchVariable.
    • COOKIES

      public static final MatchVariable COOKIES
      Static value Cookies for MatchVariable.
    • SOCKET_ADDR

      public static final MatchVariable SOCKET_ADDR
      Static value SocketAddr for MatchVariable.
  • Constructor Details

    • MatchVariable

      @Deprecated public MatchVariable()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of MatchVariable value.
  • Method Details

    • fromString

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

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