FailoverGroupReplicationRole Class

public final class FailoverGroupReplicationRole
extends ExpandableStringEnum<FailoverGroupReplicationRole>

Local replication role of the failover group instance.

Field Summary

Modifier and Type Field and Description
static final FailoverGroupReplicationRole PRIMARY

Static value Primary for FailoverGroupReplicationRole.

static final FailoverGroupReplicationRole SECONDARY

Static value Secondary for FailoverGroupReplicationRole.

Constructor Summary

Constructor Description
FailoverGroupReplicationRole()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of FailoverGroupReplicationRole value.

Method Summary

Modifier and Type Method and Description
static FailoverGroupReplicationRole fromString(String name)

Creates or finds a FailoverGroupReplicationRole from its string representation.

static Collection<FailoverGroupReplicationRole> values()

Gets known FailoverGroupReplicationRole values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

PRIMARY

public static final FailoverGroupReplicationRole PRIMARY

Static value Primary for FailoverGroupReplicationRole.

SECONDARY

public static final FailoverGroupReplicationRole SECONDARY

Static value Secondary for FailoverGroupReplicationRole.

Constructor Details

FailoverGroupReplicationRole

@Deprecated
public FailoverGroupReplicationRole()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of FailoverGroupReplicationRole value.

Method Details

fromString

public static FailoverGroupReplicationRole fromString(String name)

Creates or finds a FailoverGroupReplicationRole from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding FailoverGroupReplicationRole.

values

public static Collection values()

Gets known FailoverGroupReplicationRole values.

Returns:

known FailoverGroupReplicationRole values.

Applies to