ReplicationMode Class

public final class ReplicationMode
extends ExpandableStringEnum<ReplicationMode>

Optional parameter which specifies the mode to be used for replication. This property is not updatable.

Field Summary

Modifier and Type Field and Description
static final ReplicationMode FULL

Static value Full for ReplicationMode.

static final ReplicationMode SHALLOW

Static value Shallow 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

FULL

public static final ReplicationMode FULL

Static value Full for ReplicationMode.

SHALLOW

public static final ReplicationMode SHALLOW

Static value Shallow 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