Class FailoverMode
java.lang.Object
com.azure.core.util.ExpandableStringEnum<FailoverMode>
com.azure.resourcemanager.postgresqlflexibleserver.models.FailoverMode
Failover mode.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final FailoverMode
Static value ForcedFailover for FailoverMode.static final FailoverMode
Static value ForcedSwitchover for FailoverMode.static final FailoverMode
Static value PlannedFailover for FailoverMode.static final FailoverMode
Static value PlannedSwitchover for FailoverMode. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic FailoverMode
fromString
(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, 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.