Code Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. security. models. Code
- com.
- com.
public final class Code
extends ExpandableStringEnum<Code>
The operation status code.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
| static final Code |
FAILED
Static value Failed for Code. |
| static final Code |
SUCCEEDED
Static value Succeeded for Code. |
Constructor Summary
| Constructor | Description |
|---|---|
| Code() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Code value. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| static Code |
fromString(String name)
Creates or finds a Code from its string representation. |
| static Collection<Code> |
values()
Gets known Code values. |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
FAILED
public static final Code FAILED
Static value Failed for Code.
SUCCEEDED
public static final Code SUCCEEDED
Static value Succeeded for Code.
Constructor Details
Code
@Deprecated
public Code()
Deprecated
Creates a new instance of Code value.
Method Details
fromString
public static Code fromString(String name)
Creates or finds a Code from its string representation.
Parameters:
Returns:
values
public static Collection values()
Gets known Code values.
Returns:
known Code values.
Applies to