ReplicationMode Class

public final class ReplicationMode
extends ExpandableStringEnum<ReplicationMode>

The replication mode of a distributed availability group. Parameter will be ignored during link creation.

Field Summary

Modifier and Type Field and Description
static final ReplicationMode ASYNC

Static value Async for ReplicationMode.

static final ReplicationMode SYNC

Static value Sync for ReplicationMode.

Constructor Summary

Constructor Description
ReplicationMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ReplicationMode value.

Method Summary

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

Creates or finds a ReplicationMode from its string representation.

static Collection<ReplicationMode> values()

Gets known ReplicationMode values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ASYNC

public static final ReplicationMode ASYNC

Static value Async for ReplicationMode.

SYNC

public static final ReplicationMode SYNC

Static value Sync for ReplicationMode.

Constructor Details

ReplicationMode

@Deprecated
public ReplicationMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ReplicationMode value.

Method Details

fromString

public static ReplicationMode fromString(String name)

Creates or finds a ReplicationMode from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ReplicationMode.

values

public static Collection values()

Gets known ReplicationMode values.

Returns:

known ReplicationMode values.

Applies to