InstanceFailoverGroupReplicationRole Class

public final class InstanceFailoverGroupReplicationRole
extends ExpandableStringEnum<InstanceFailoverGroupReplicationRole>

Local replication role of the failover group instance.

Field Summary

Modifier and Type Field and Description
static final InstanceFailoverGroupReplicationRole PRIMARY

Static value Primary for InstanceFailoverGroupReplicationRole.

static final InstanceFailoverGroupReplicationRole SECONDARY

Static value Secondary for InstanceFailoverGroupReplicationRole.

Constructor Summary

Constructor Description
InstanceFailoverGroupReplicationRole()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of InstanceFailoverGroupReplicationRole value.

Method Summary

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

Creates or finds a InstanceFailoverGroupReplicationRole from its string representation.

static Collection<InstanceFailoverGroupReplicationRole> values()

Gets known InstanceFailoverGroupReplicationRole values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

PRIMARY

public static final InstanceFailoverGroupReplicationRole PRIMARY

Static value Primary for InstanceFailoverGroupReplicationRole.

SECONDARY

public static final InstanceFailoverGroupReplicationRole SECONDARY

Static value Secondary for InstanceFailoverGroupReplicationRole.

Constructor Details

InstanceFailoverGroupReplicationRole

@Deprecated
public InstanceFailoverGroupReplicationRole()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of InstanceFailoverGroupReplicationRole value.

Method Details

fromString

public static InstanceFailoverGroupReplicationRole fromString(String name)

Creates or finds a InstanceFailoverGroupReplicationRole from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding InstanceFailoverGroupReplicationRole.

values

public static Collection values()

Gets known InstanceFailoverGroupReplicationRole values.

Returns:

known InstanceFailoverGroupReplicationRole values.

Applies to