Class AutomationKeyName

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

public final class AutomationKeyName extends com.azure.core.util.ExpandableStringEnum<AutomationKeyName>
Automation key name.
  • Field Details

    • PRIMARY

      public static final AutomationKeyName PRIMARY
      Static value Primary for AutomationKeyName.
    • SECONDARY

      public static final AutomationKeyName SECONDARY
      Static value Secondary for AutomationKeyName.
  • Constructor Details

    • AutomationKeyName

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

    • fromString

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

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