Class UpgradeMode
java.lang.Object
com.azure.core.util.ExpandableStringEnum<UpgradeMode>
com.azure.resourcemanager.hdinsight.containers.models.UpgradeMode
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
A string property that indicates the upgrade mode to be performed on the Flink job. It can have one of the following
enum values => STATELESS_UPDATE, UPDATE, LAST_STATE_UPDATE.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final UpgradeModeStatic value LAST_STATE_UPDATE for UpgradeMode.static final UpgradeModeStatic value STATELESS_UPDATE for UpgradeMode.static final UpgradeModeStatic value UPDATE for UpgradeMode. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic UpgradeModefromString(String name) Creates or finds a UpgradeMode from its string representation.static Collection<UpgradeMode> values()Gets known UpgradeMode values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
STATELESS_UPDATE
Static value STATELESS_UPDATE for UpgradeMode. -
UPDATE
Static value UPDATE for UpgradeMode. -
LAST_STATE_UPDATE
Static value LAST_STATE_UPDATE for UpgradeMode.
-
-
Constructor Details
-
UpgradeMode
Deprecated.Use thefromString(String)factory method.Creates a new instance of UpgradeMode value.
-
-
Method Details
-
fromString
Creates or finds a UpgradeMode from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding UpgradeMode.
-
values
Gets known UpgradeMode values.- Returns:
- known UpgradeMode values.
-
fromString(String)factory method.