Code Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. containerservice. models. Code
- com.
- com.
public final class Code
extends ExpandableStringEnum<Code>
Tells whether the cluster is Running or Stopped.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final Code |
RUNNING
Static value Running for Code. |
static final Code |
STOPPED
Static value Stopped 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
RUNNING
public static final Code RUNNING
Static value Running for Code.
STOPPED
public static final Code STOPPED
Static value Stopped 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
Azure SDK for Java