Class FailoverMode
java.lang.Object
com.azure.core.util.ExpandableStringEnum<FailoverMode>
com.azure.resourcemanager.postgresqlflexibleserver.models.FailoverMode
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
Failover mode.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final FailoverModeStatic value ForcedFailover for FailoverMode.static final FailoverModeStatic value ForcedSwitchover for FailoverMode.static final FailoverModeStatic value PlannedFailover for FailoverMode.static final FailoverModeStatic value PlannedSwitchover for FailoverMode. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FailoverModefromString(String name) Creates or finds a FailoverMode from its string representation.static Collection<FailoverMode> values()Gets known FailoverMode values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
PLANNED_FAILOVER
Static value PlannedFailover for FailoverMode. -
FORCED_FAILOVER
Static value ForcedFailover for FailoverMode. -
PLANNED_SWITCHOVER
Static value PlannedSwitchover for FailoverMode. -
FORCED_SWITCHOVER
Static value ForcedSwitchover for FailoverMode.
-
-
Constructor Details
-
FailoverMode
Deprecated.Use thefromString(String)factory method.Creates a new instance of FailoverMode value.
-
-
Method Details
-
fromString
Creates or finds a FailoverMode from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding FailoverMode.
-
values
Gets known FailoverMode values.- Returns:
- known FailoverMode values.
-
fromString(String)factory method.