CreateMode Class

public final class CreateMode
extends ExpandableStringEnum<CreateMode>

The mode to create a new server.

Field Summary

Modifier and Type Field and Description
static final CreateMode DEFAULT

Static value Default for CreateMode.

static final CreateMode GEO_RESTORE

Static value GeoRestore for CreateMode.

static final CreateMode POINT_IN_TIME_RESTORE

Static value PointInTimeRestore for CreateMode.

static final CreateMode REPLICA

Static value Replica for CreateMode.

Constructor Summary

Constructor Description
CreateMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of CreateMode value.

Method Summary

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

Creates or finds a CreateMode from its string representation.

static Collection<CreateMode> values()

Gets known CreateMode values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DEFAULT

public static final CreateMode DEFAULT

Static value Default for CreateMode.

GEO_RESTORE

public static final CreateMode GEO_RESTORE

Static value GeoRestore for CreateMode.

POINT_IN_TIME_RESTORE

public static final CreateMode POINT_IN_TIME_RESTORE

Static value PointInTimeRestore for CreateMode.

REPLICA

public static final CreateMode REPLICA

Static value Replica for CreateMode.

Constructor Details

CreateMode

@Deprecated
public CreateMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of CreateMode value.

Method Details

fromString

public static CreateMode fromString(String name)

Creates or finds a CreateMode from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding CreateMode.

values

public static Collection<CreateMode> values()

Gets known CreateMode values.

Returns:

known CreateMode values.

Applies to