ReadWriteEndpointFailoverPolicy Class

public final class ReadWriteEndpointFailoverPolicy
extends ExpandableStringEnum<ReadWriteEndpointFailoverPolicy>

Failover policy of the read-write endpoint for the failover group. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required.

Field Summary

Modifier and Type Field and Description
static final ReadWriteEndpointFailoverPolicy AUTOMATIC

Static value Automatic for ReadWriteEndpointFailoverPolicy.

static final ReadWriteEndpointFailoverPolicy MANUAL

Static value Manual for ReadWriteEndpointFailoverPolicy.

Constructor Summary

Constructor Description
ReadWriteEndpointFailoverPolicy()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ReadWriteEndpointFailoverPolicy value.

Method Summary

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

Creates or finds a ReadWriteEndpointFailoverPolicy from its string representation.

static Collection<ReadWriteEndpointFailoverPolicy> values()

Gets known ReadWriteEndpointFailoverPolicy values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

AUTOMATIC

public static final ReadWriteEndpointFailoverPolicy AUTOMATIC

Static value Automatic for ReadWriteEndpointFailoverPolicy.

MANUAL

public static final ReadWriteEndpointFailoverPolicy MANUAL

Static value Manual for ReadWriteEndpointFailoverPolicy.

Constructor Details

ReadWriteEndpointFailoverPolicy

@Deprecated
public ReadWriteEndpointFailoverPolicy()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ReadWriteEndpointFailoverPolicy value.

Method Details

fromString

public static ReadWriteEndpointFailoverPolicy fromString(String name)

Creates or finds a ReadWriteEndpointFailoverPolicy from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ReadWriteEndpointFailoverPolicy.

values

public static Collection values()

Gets known ReadWriteEndpointFailoverPolicy values.

Returns:

known ReadWriteEndpointFailoverPolicy values.

Applies to