Class CreateMode
- java.lang.Object
-
- com.azure.core.util.ExpandableStringEnum<CreateMode>
-
- com.azure.resourcemanager.mysql.models.CreateMode
-
public final class CreateMode extends com.azure.core.util.ExpandableStringEnum<CreateMode>
Defines values for CreateMode.
-
-
Field Summary
Fields Modifier and Type Field Description static CreateModeDEFAULTStatic value Default for CreateMode.static CreateModeGEO_RESTOREStatic value GeoRestore for CreateMode.static CreateModePOINT_IN_TIME_RESTOREStatic value PointInTimeRestore for CreateMode.static CreateModeREPLICAStatic value Replica for CreateMode.
-
Constructor Summary
Constructors Constructor Description CreateMode()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CreateModefromString(String name)Creates or finds a CreateMode from its string representation.static Collection<CreateMode>values()
-
-
-
Field Detail
-
DEFAULT
public static final CreateMode DEFAULT
Static value Default for CreateMode.
-
POINT_IN_TIME_RESTORE
public static final CreateMode POINT_IN_TIME_RESTORE
Static value PointInTimeRestore for CreateMode.
-
GEO_RESTORE
public static final CreateMode GEO_RESTORE
Static value GeoRestore for CreateMode.
-
REPLICA
public static final CreateMode REPLICA
Static value Replica for CreateMode.
-
-
Method Detail
-
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()
- Returns:
- known CreateMode values.
-
-