CredentialName Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. containerregistry. models. CredentialName
- com.
- com.
public final class CredentialName
extends ExpandableStringEnum<CredentialName>
The name of the credential.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Credential |
CREDENTIAL1
Static value Credential1 for Credential |
Constructor Summary
Constructor | Description |
---|---|
CredentialName() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Credential |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Credential |
fromString(String name)
Creates or finds a Credential |
static
Collection<Credential |
values()
Gets known Credential |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
CREDENTIAL1
public static final CredentialName CREDENTIAL1
Static value Credential1 for CredentialName.
Constructor Details
CredentialName
@Deprecated
public CredentialName()
Deprecated
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:
Returns:
values
public static Collection
Gets known CredentialName values.
Returns:
Applies to
Azure SDK for Java