Class OperationType
- java.lang.Object
-
- com.azure.core.util.ExpandableStringEnum<OperationType>
-
- com.azure.resourcemanager.cosmos.models.OperationType
-
public final class OperationType extends com.azure.core.util.ExpandableStringEnum<OperationType>
Defines values for OperationType.
-
-
Field Summary
Fields Modifier and Type Field Description static OperationTypeCREATEStatic value Create for OperationType.static OperationTypeDELETEStatic value Delete for OperationType.static OperationTypeREPLACEStatic value Replace for OperationType.static OperationTypeSYSTEM_OPERATIONStatic value SystemOperation for OperationType.
-
Constructor Summary
Constructors Constructor Description OperationType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OperationTypefromString(String name)Creates or finds a OperationType from its string representation.static Collection<OperationType>values()
-
-
-
Field Detail
-
CREATE
public static final OperationType CREATE
Static value Create for OperationType.
-
REPLACE
public static final OperationType REPLACE
Static value Replace for OperationType.
-
DELETE
public static final OperationType DELETE
Static value Delete for OperationType.
-
SYSTEM_OPERATION
public static final OperationType SYSTEM_OPERATION
Static value SystemOperation for OperationType.
-
-
Method Detail
-
fromString
public static OperationType fromString(String name)
Creates or finds a OperationType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding OperationType.
-
values
public static Collection<OperationType> values()
- Returns:
- known OperationType values.
-
-