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 Summary

    Fields
    Modifier and Type
    Field
    Description
    static final TriggerType
    Static value Post for TriggerType.
    static final TriggerType
    Static value Pre for TriggerType.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates or finds a TriggerType from its string representation.
    Gets known TriggerType values.

    Methods inherited from class com.azure.core.util.ExpandableStringEnum

    equals, fromString, hashCode, toString, values

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • 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

      public TriggerType()
  • 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.