java.lang.Object
com.azure.core.util.ExpandableStringEnum<ApiKey>
com.azure.resourcemanager.dashboard.models.ApiKey

public final class ApiKey extends com.azure.core.util.ExpandableStringEnum<ApiKey>
Defines values for ApiKey.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final ApiKey
    Static value Disabled for ApiKey.
    static final ApiKey
    Static value Enabled for ApiKey.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static ApiKey
    Creates or finds a ApiKey from its string representation.
    Gets known ApiKey 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

    • DISABLED

      public static final ApiKey DISABLED
      Static value Disabled for ApiKey.
    • ENABLED

      public static final ApiKey ENABLED
      Static value Enabled for ApiKey.
  • Constructor Details

    • ApiKey

      public ApiKey()
  • Method Details

    • fromString

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

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