Class CredentialName
java.lang.Object
com.azure.core.util.ExpandableStringEnum<CredentialName>
com.azure.resourcemanager.containerregistry.models.CredentialName
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
The name of the credential.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CredentialNameStatic value Credential1 for CredentialName. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CredentialNamefromString(String name) Creates or finds a CredentialName from its string representation.static Collection<CredentialName> values()Gets known CredentialName values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
CREDENTIAL1
Static value Credential1 for CredentialName.
-
-
Constructor Details
-
CredentialName
Deprecated.Use thefromString(String)factory method.Creates a new instance of CredentialName value.
-
-
Method Details
-
fromString
Creates or finds a CredentialName from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding CredentialName.
-
values
Gets known CredentialName values.- Returns:
- known CredentialName values.
-
fromString(String)factory method.