ReplicationRole Enum
- java.
lang. Object - java.
lang. Enum - com.
microsoft. azure. management. redis. ReplicationRole
- com.
- java.
public enum ReplicationRole
extends java.lang.Enum<ReplicationRole>
Defines values for ReplicationRole.
Fields
PRIMARY |
Enum value Primary. |
SECONDARY |
Enum value Secondary. |
Methods inherited from java.lang.Enum
java.lang.Enum.<T>valueOf
java.lang.Enum.clone
java.lang.Enum.compareTo
java.lang.Enum.describeConstable
java.lang.Enum.equals
java.lang.Enum.finalize
java.lang.Enum.getDeclaringClass
java.lang.Enum.hashCode
java.lang.Enum.name
java.lang.Enum.ordinal
java.lang.Enum.toString
Methods inherited from java.lang.Object
java.lang.Object.getClass
java.lang.Object.notify
java.lang.Object.notifyAll
java.lang.Object.wait
java.lang.Object.wait
java.lang.Object.wait
Methods
fromString(String value)
public static ReplicationRole fromString(String value)
Parses a serialized value to a ReplicationRole instance.
Parameters
- value
- java.lang.String
Returns
the parsed ReplicationRole object, or null if unable to parse.
toString()
public String toString()
Returns
java.lang.String
- Overrides
-
java.lang.Enum.toString()
valueOf(String name)
public static ReplicationRole valueOf(String name)
Parameters
- name
- java.lang.String
Returns
values()
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java