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

public final class CredentialName extends com.azure.core.util.ExpandableStringEnum<CredentialName>
The name of the credential.
  • Field Details

    • CREDENTIAL1

      public static final CredentialName CREDENTIAL1
      Static value Credential1 for CredentialName.
  • Constructor Details

    • CredentialName

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

    • fromString

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

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