TokenPasswordName Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. containerregistry. models. TokenPasswordName
- com.
- com.
public final class TokenPasswordName
extends ExpandableStringEnum<TokenPasswordName>
The password name "password1" or "password2".
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Token |
PASSWORD1
Static value password1 for Token |
static final
Token |
PASSWORD2
Static value password2 for Token |
Constructor Summary
Constructor | Description |
---|---|
TokenPasswordName() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Token |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Token |
fromString(String name)
Creates or finds a Token |
static
Collection<Token |
values()
Gets known Token |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
PASSWORD1
public static final TokenPasswordName PASSWORD1
Static value password1 for TokenPasswordName.
PASSWORD2
public static final TokenPasswordName PASSWORD2
Static value password2 for TokenPasswordName.
Constructor Details
TokenPasswordName
@Deprecated
public TokenPasswordName()
Deprecated
Creates a new instance of TokenPasswordName value.
Method Details
fromString
public static TokenPasswordName fromString(String name)
Creates or finds a TokenPasswordName from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known TokenPasswordName values.
Returns:
Applies to
Azure SDK for Java