Share via


FailoverModeType Class

public final class FailoverModeType
extends ExpandableStringEnum<FailoverModeType>

The link failover mode - can be Manual if intended to be used for two-way failover with a supported SQL Server, or None for one-way failover to Azure.

Field Summary

Modifier and Type Field and Description
static final FailoverModeType MANUAL

Static value Manual for FailoverModeType.

static final FailoverModeType NONE

Static value None for FailoverModeType.

Constructor Summary

Constructor Description
FailoverModeType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of FailoverModeType value.

Method Summary

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

Creates or finds a FailoverModeType from its string representation.

static Collection<FailoverModeType> values()

Gets known FailoverModeType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

MANUAL

public static final FailoverModeType MANUAL

Static value Manual for FailoverModeType.

NONE

public static final FailoverModeType NONE

Static value None for FailoverModeType.

Constructor Details

FailoverModeType

@Deprecated
public FailoverModeType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of FailoverModeType value.

Method Details

fromString

public static FailoverModeType fromString(String name)

Creates or finds a FailoverModeType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding FailoverModeType.

values

public static Collection<FailoverModeType> values()

Gets known FailoverModeType values.

Returns:

known FailoverModeType values.

Applies to