Class Code
java.lang.Object
com.azure.core.util.ExpandableStringEnum<Code>
com.azure.resourcemanager.containerservice.models.Code
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
Tells whether the cluster is Running or Stopped.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CodefromString(String name) Creates or finds a Code from its string representation.static Collection<Code> values()Gets known Code values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
RUNNING
Static value Running for Code. -
STOPPED
Static value Stopped for Code.
-
-
Constructor Details
-
Code
Deprecated.Use thefromString(String)factory method.Creates a new instance of Code value.
-
-
Method Details
-
fromString
Creates or finds a Code from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding Code.
-
values
Gets known Code values.- Returns:
- known Code values.
-
fromString(String)factory method.