Class OperationType

java.lang.Object
com.azure.core.util.ExpandableStringEnum<OperationType>
com.azure.resourcemanager.cosmos.models.OperationType
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class OperationType extends com.azure.core.util.ExpandableStringEnum<OperationType>
Enum to indicate the operation type of the event.
  • Field Details

    • 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.
    • RECREATE

      public static final OperationType RECREATE
      Static value Recreate for OperationType.
    • SYSTEM_OPERATION

      public static final OperationType SYSTEM_OPERATION
      Static value SystemOperation for OperationType.
  • Constructor Details

    • OperationType

      @Deprecated public OperationType()
      Deprecated.
      Use the fromString(String) factory method.
      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:
      name - a name to look for.
      Returns:
      the corresponding OperationType.
    • values

      public static Collection<OperationType> values()
      Gets known OperationType values.
      Returns:
      known OperationType values.