Class CreateMode
- java.lang.Object
-
- com.azure.core.util.ExpandableStringEnum<CreateMode>
-
- com.azure.resourcemanager.recoveryservicesbackup.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 CreateMode
DEFAULT
Static value Default for CreateMode.static CreateMode
INVALID
Static value Invalid for CreateMode.static CreateMode
RECOVER
Static value Recover for CreateMode.
-
Constructor Summary
Constructors Constructor Description CreateMode()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CreateMode
fromString(String name)
Creates or finds a CreateMode from its string representation.static Collection<CreateMode>
values()
Gets known CreateMode values.
-
-
-
Field Detail
-
INVALID
public static final CreateMode INVALID
Static value Invalid for CreateMode.
-
DEFAULT
public static final CreateMode DEFAULT
Static value Default for CreateMode.
-
RECOVER
public static final CreateMode RECOVER
Static value Recover 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()
Gets known CreateMode values.- Returns:
- known CreateMode values.
-
-