CreateMode Class
- java.
lang. Object - com.
microsoft. rest. ExpandableStringEnum<CreateMode> - com.
microsoft. azure. management. sql. CreateMode
- com.
- com.
public class CreateMode
Defines values for CreateMode.
Field Summary
Modifier and Type | Field and Description |
---|---|
final Create |
COPY
Static value Copy for CreateMode. |
final Create |
DEFAULT
Static value Default for CreateMode. |
final Create |
NON_READABLE_SECONDARY
Static value NonReadableSecondary for CreateMode. |
final Create |
ONLINE_SECONDARY
Static value OnlineSecondary for CreateMode. |
final Create |
POINT_IN_TIME_RESTORE
Static value PointInTimeRestore for CreateMode. |
final Create |
RECOVERY
Static value Recovery for CreateMode. |
final Create |
RESTORE
Static value Restore for CreateMode. |
final Create |
RESTORE_LONG_TERM_RETENTION_BACKUP
Static value RestoreLongTermRetentionBackup for CreateMode. |
Constructor Summary
Constructor | Description |
---|---|
CreateMode(String value) |
Creates a custom value for CreateMode. |
Method Summary
Modifier and Type | Method and Description |
---|---|
boolean | equals(Object obj) |
Create |
fromString(String name)
Creates or finds a CreateMode from its string representation. |
int | hashCode() |
String | toString() |
Collection<Create |
values() |
Field Details
COPY
public static final CreateMode COPY= fromString("Copy")
Static value Copy for CreateMode.
DEFAULT
public static final CreateMode DEFAULT= fromString("Default")
Static value Default for CreateMode.
NON_READABLE_SECONDARY
public static final CreateMode NON_READABLE_SECONDARY= fromString("NonReadableSecondary")
Static value NonReadableSecondary for CreateMode.
ONLINE_SECONDARY
public static final CreateMode ONLINE_SECONDARY= fromString("OnlineSecondary")
Static value OnlineSecondary for CreateMode.
POINT_IN_TIME_RESTORE
public static final CreateMode POINT_IN_TIME_RESTORE= fromString("PointInTimeRestore")
Static value PointInTimeRestore for CreateMode.
RECOVERY
public static final CreateMode RECOVERY= fromString("Recovery")
Static value Recovery for CreateMode.
RESTORE
public static final CreateMode RESTORE= fromString("Restore")
Static value Restore for CreateMode.
RESTORE_LONG_TERM_RETENTION_BACKUP
public static final CreateMode RESTORE_LONG_TERM_RETENTION_BACKUP= fromString("RestoreLongTermRetentionBackup")
Static value RestoreLongTermRetentionBackup for CreateMode.
Constructor Details
CreateMode
public CreateMode(String value)
Creates a custom value for CreateMode.
Parameters:
Method Details
equals
public boolean equals(Object obj)
Parameters:
fromString
public static CreateMode fromString(String name)
Creates or finds a CreateMode from its string representation.
Parameters:
Returns:
hashCode
public int hashCode()
toString
public String toString()
values
public static Collection
Returns:
Applies to
Azure SDK for Java