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

Manual.

static final FailoverModeType NONE

None.

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

Manual.

NONE

public static final FailoverModeType NONE

None.

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