Partilhar via


ReplicationRole Enum

  • java.lang.Object
    • java.lang.Enum
      • com.azure.resourcemanager.redis.models.ReplicationRole

public enum ReplicationRole
extends Enum<ReplicationRole>

Role of the linked server.

Fields

PRIMARY

Enum value Primary.

SECONDARY

Enum value Secondary.

Methods inherited from java.lang.Enum

Methods inherited from java.lang.Object

Methods

fromString(String value)

public static ReplicationRole fromString(String value)

Parses a serialized value to a ReplicationRole instance.

Parameters

value
String
the serialized value to parse.

Returns

the parsed ReplicationRole object, or null if unable to parse.

toString()

public String toString()

Returns

Overrides
java.lang.Enum.toString()

valueOf(String name)

public static ReplicationRole valueOf(String name)

Parameters

name
String

Returns

values()

public static ReplicationRole[] values()

Returns

Applies to