OperationType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. cosmos. models. OperationType
- com.
- com.
public final class OperationType
extends ExpandableStringEnum<OperationType>
Enum to indicate the operation type of the event.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Operation |
CREATE
Static value Create for Operation |
static final
Operation |
DELETE
Static value Delete for Operation |
static final
Operation |
RECREATE
Static value Recreate for Operation |
static final
Operation |
REPLACE
Static value Replace for Operation |
static final
Operation |
SYSTEM_OPERATION
Static value System |
Constructor Summary
Constructor | Description |
---|---|
OperationType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Operation |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Operation |
fromString(String name)
Creates or finds a Operation |
static
Collection<Operation |
values()
Gets known Operation |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
CREATE
public static final OperationType CREATE
Static value Create for OperationType.
DELETE
public static final OperationType DELETE
Static value Delete for OperationType.
RECREATE
public static final OperationType RECREATE
Static value Recreate for OperationType.
REPLACE
public static final OperationType REPLACE
Static value Replace for OperationType.
SYSTEM_OPERATION
public static final OperationType SYSTEM_OPERATION
Static value SystemOperation for OperationType.
Constructor Details
OperationType
@Deprecated
public OperationType()
Deprecated
Creates a new instance of OperationType value.
Method Details
fromString
public static OperationType fromString(String name)
Creates or finds a OperationType from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known OperationType values.
Returns:
Applies to
Azure SDK for Java