CreateMode Class

  • java.lang.Object
    • com.microsoft.rest.ExpandableStringEnum
      • com.microsoft.azure.management.sql.CreateMode

public final class CreateMode
extends com.microsoft.rest.ExpandableStringEnum<CreateMode>

Defines values for CreateMode.

Field Summary

Modifier and Type Field and Description
static final CreateMode COPY

Static value Copy for CreateMode.

static final CreateMode DEFAULT

Static value Default for CreateMode.

static final CreateMode NON_READABLE_SECONDARY

Static value NonReadableSecondary for CreateMode.

static final CreateMode ONLINE_SECONDARY

Static value OnlineSecondary for CreateMode.

static final CreateMode POINT_IN_TIME_RESTORE

Static value PointInTimeRestore for CreateMode.

static final CreateMode RECOVERY

Static value Recovery for CreateMode.

static final CreateMode RESTORE

Static value Restore for CreateMode.

static final CreateMode RESTORE_LONG_TERM_RETENTION_BACKUP

Static value RestoreLongTermRetentionBackup for CreateMode.

Constructor Summary

Constructor Description
CreateMode()

Method Summary

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

Creates or finds a CreateMode from its string representation.

static java.util.Collection<CreateMode> values()

Methods inherited from com.microsoft.rest.ExpandableStringEnum

com.microsoft.rest.ExpandableStringEnum.<T>fromString com.microsoft.rest.ExpandableStringEnum.<T>values com.microsoft.rest.ExpandableStringEnum.equals com.microsoft.rest.ExpandableStringEnum.hashCode com.microsoft.rest.ExpandableStringEnum.toString com.microsoft.rest.ExpandableStringEnum.withNameValue

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Field Details

COPY

public static final CreateMode COPY

Static value Copy for CreateMode.

DEFAULT

public static final CreateMode DEFAULT

Static value Default for CreateMode.

NON_READABLE_SECONDARY

public static final CreateMode NON_READABLE_SECONDARY

Static value NonReadableSecondary for CreateMode.

ONLINE_SECONDARY

public static final CreateMode ONLINE_SECONDARY

Static value OnlineSecondary for CreateMode.

POINT_IN_TIME_RESTORE

public static final CreateMode POINT_IN_TIME_RESTORE

Static value PointInTimeRestore for CreateMode.

RECOVERY

public static final CreateMode RECOVERY

Static value Recovery for CreateMode.

RESTORE

public static final CreateMode RESTORE

Static value Restore for CreateMode.

RESTORE_LONG_TERM_RETENTION_BACKUP

public static final CreateMode RESTORE_LONG_TERM_RETENTION_BACKUP

Static value RestoreLongTermRetentionBackup for CreateMode.

Constructor Details

CreateMode

public CreateMode()

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 values()

Returns:

known CreateMode values

Applies to