java.lang.Object
com.azure.core.util.ExpandableStringEnum<Method>
com.azure.resourcemanager.apimanagement.models.Method
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class Method extends com.azure.core.util.ExpandableStringEnum<Method>
The HTTP method to be used.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Method
    Static value GET for Method.
    static final Method
    Static value POST for Method.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
    Use the fromString(String) factory method.
  • Method Summary

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

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

    equals, fromString, getValue, hashCode, toString, values

    Methods inherited from class java.lang.Object

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

    • GET

      public static final Method GET
      Static value GET for Method.
    • POST

      public static final Method POST
      Static value POST for Method.
  • Constructor Details

  • Method Details

    • fromString

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

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