Class ReplicationState
java.lang.Object
com.azure.core.util.ExpandableStringEnum<ReplicationState>
com.azure.resourcemanager.postgresqlflexibleserver.models.ReplicationState
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class ReplicationState
extends com.azure.core.util.ExpandableStringEnum<ReplicationState>
Indicates the replication state of a read replica. This property is returned only when the target server is a read
replica. Possible values are Active, Broken, Catchup, Provisioning, Reconfiguring, and Updating.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ReplicationStateStatic value Active for ReplicationState.static final ReplicationStateStatic value Broken for ReplicationState.static final ReplicationStateStatic value Catchup for ReplicationState.static final ReplicationStateStatic value Provisioning for ReplicationState.static final ReplicationStateStatic value Reconfiguring for ReplicationState.static final ReplicationStateStatic value Updating for ReplicationState. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ReplicationStatefromString(String name) Creates or finds a ReplicationState from its string representation.static Collection<ReplicationState> values()Gets known ReplicationState values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
ACTIVE
Static value Active for ReplicationState. -
CATCHUP
Static value Catchup for ReplicationState. -
PROVISIONING
Static value Provisioning for ReplicationState. -
UPDATING
Static value Updating for ReplicationState. -
BROKEN
Static value Broken for ReplicationState. -
RECONFIGURING
Static value Reconfiguring for ReplicationState.
-
-
Constructor Details
-
ReplicationState
Deprecated.Use thefromString(String)factory method.Creates a new instance of ReplicationState value.
-
-
Method Details
-
fromString
Creates or finds a ReplicationState from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding ReplicationState.
-
values
Gets known ReplicationState values.- Returns:
- known ReplicationState values.
-
fromString(String)factory method.