Class ReadReplicaPromoteOption
java.lang.Object
com.azure.core.util.ExpandableStringEnum<ReadReplicaPromoteOption>
com.azure.resourcemanager.postgresqlflexibleserver.models.ReadReplicaPromoteOption
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class ReadReplicaPromoteOption
extends com.azure.core.util.ExpandableStringEnum<ReadReplicaPromoteOption>
Data synchronization option to use when processing the operation specified in the promoteMode property. This property
is write only.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ReadReplicaPromoteOptionStatic value Forced for ReadReplicaPromoteOption.static final ReadReplicaPromoteOptionStatic value Planned for ReadReplicaPromoteOption. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ReadReplicaPromoteOptionfromString(String name) Creates or finds a ReadReplicaPromoteOption from its string representation.static Collection<ReadReplicaPromoteOption> values()Gets known ReadReplicaPromoteOption values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
PLANNED
Static value Planned for ReadReplicaPromoteOption. -
FORCED
Static value Forced for ReadReplicaPromoteOption.
-
-
Constructor Details
-
ReadReplicaPromoteOption
Deprecated.Use thefromString(String)factory method.Creates a new instance of ReadReplicaPromoteOption value.
-
-
Method Details
-
fromString
Creates or finds a ReadReplicaPromoteOption from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding ReadReplicaPromoteOption.
-
values
Gets known ReadReplicaPromoteOption values.- Returns:
- known ReadReplicaPromoteOption values.
-
fromString(String)factory method.