Partager via


ReadOnlyEndpointFailoverPolicy Class

public final class ReadOnlyEndpointFailoverPolicy
extends ExpandableStringEnum<ReadOnlyEndpointFailoverPolicy>

Failover policy of the read-only endpoint for the failover group.

Field Summary

Modifier and Type Field and Description
static final ReadOnlyEndpointFailoverPolicy DISABLED

Static value Disabled for ReadOnlyEndpointFailoverPolicy.

static final ReadOnlyEndpointFailoverPolicy ENABLED

Static value Enabled for ReadOnlyEndpointFailoverPolicy.

Constructor Summary

Constructor Description
ReadOnlyEndpointFailoverPolicy()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ReadOnlyEndpointFailoverPolicy value.

Method Summary

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

Creates or finds a ReadOnlyEndpointFailoverPolicy from its string representation.

static Collection<ReadOnlyEndpointFailoverPolicy> values()

Gets known ReadOnlyEndpointFailoverPolicy values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DISABLED

public static final ReadOnlyEndpointFailoverPolicy DISABLED

Static value Disabled for ReadOnlyEndpointFailoverPolicy.

ENABLED

public static final ReadOnlyEndpointFailoverPolicy ENABLED

Static value Enabled for ReadOnlyEndpointFailoverPolicy.

Constructor Details

ReadOnlyEndpointFailoverPolicy

@Deprecated
public ReadOnlyEndpointFailoverPolicy()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ReadOnlyEndpointFailoverPolicy value.

Method Details

fromString

public static ReadOnlyEndpointFailoverPolicy fromString(String name)

Creates or finds a ReadOnlyEndpointFailoverPolicy from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ReadOnlyEndpointFailoverPolicy.

values

public static Collection values()

Gets known ReadOnlyEndpointFailoverPolicy values.

Returns:

known ReadOnlyEndpointFailoverPolicy values.

Applies to