ReplicationRole Enum

  • java.lang.Object
    • java.lang.Enum
      • com.microsoft.azure.management.redis.ReplicationRole

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
the serialized value to parse.

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()

public static ReplicationRole[] values()

Returns

Applies to