Class TriggerType

java.lang.Object
com.azure.core.util.ExpandableStringEnum<TriggerType>
com.azure.resourcemanager.cosmos.models.TriggerType

public final class TriggerType extends com.azure.core.util.ExpandableStringEnum<TriggerType>
Type of the Trigger.
  • Field Details

    • PRE

      public static final TriggerType PRE
      Static value Pre for TriggerType.
    • POST

      public static final TriggerType POST
      Static value Post for TriggerType.
  • Constructor Details

    • TriggerType

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

    • fromString

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

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