Class TriggerOperation

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

public final class TriggerOperation extends com.azure.core.util.ExpandableStringEnum<TriggerOperation>
The operation the trigger is associated with.
  • Field Details

    • ALL

      public static final TriggerOperation ALL
      Static value All for TriggerOperation.
    • CREATE

      public static final TriggerOperation CREATE
      Static value Create for TriggerOperation.
    • UPDATE

      public static final TriggerOperation UPDATE
      Static value Update for TriggerOperation.
    • DELETE

      public static final TriggerOperation DELETE
      Static value Delete for TriggerOperation.
    • REPLACE

      public static final TriggerOperation REPLACE
      Static value Replace for TriggerOperation.
  • Constructor Details

    • TriggerOperation

      @Deprecated public TriggerOperation()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of TriggerOperation value.
  • Method Details

    • fromString

      public static TriggerOperation fromString(String name)
      Creates or finds a TriggerOperation from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding TriggerOperation.
    • values

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