Class OperationType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<OperationType>
com.azure.resourcemanager.cosmos.models.OperationType
Enum to indicate the operation type of the event.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final OperationTypeStatic value Create for OperationType.static final OperationTypeStatic value Delete for OperationType.static final OperationTypeStatic value Replace for OperationType.static final OperationTypeStatic value SystemOperation for OperationType. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic OperationTypefromString(String name) Creates or finds a OperationType from its string representation.static Collection<OperationType>values()Gets known OperationType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
CREATE
Static value Create for OperationType. -
REPLACE
Static value Replace for OperationType. -
DELETE
Static value Delete for OperationType. -
SYSTEM_OPERATION
Static value SystemOperation for OperationType.
-
-
Constructor Details
-
OperationType
Deprecated.Use thefromString(String)factory method.Creates a new instance of OperationType value.
-
-
Method Details
-
fromString
Creates or finds a OperationType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding OperationType.
-
values
Gets known OperationType values.- Returns:
- known OperationType values.
-
fromString(String)factory method.