Class CosmosTriggerProperties


  • public class CosmosTriggerProperties
    extends Resource
    • Constructor Detail

      • CosmosTriggerProperties

        public CosmosTriggerProperties()
        Constructor
    • Method Detail

      • id

        public CosmosTriggerProperties id​(String id)
        Sets the id
        Overrides:
        id in class Resource
        Parameters:
        id - the name of the resource.
        Returns:
        the current cosmos trigger properties instance
      • body

        public String body()
        Get the body of the trigger.
        Returns:
        the body of the trigger.
      • body

        public CosmosTriggerProperties body​(String body)
        Set the body of the trigger.
        Parameters:
        body - the body of the trigger.
        Returns:
        the CosmosTriggerProperties.
      • triggerType

        public TriggerType triggerType()
        Get the type of the trigger.
        Returns:
        the trigger type.
      • triggerType

        public CosmosTriggerProperties triggerType​(TriggerType triggerType)
        Set the type of the resource.
        Parameters:
        triggerType - the trigger type.
        Returns:
        the CosmosTriggerProperties.
      • triggerOperation

        public TriggerOperation triggerOperation()
        Get the operation type of the trigger.
        Returns:
        the trigger operation.
      • triggerOperation

        public CosmosTriggerProperties triggerOperation​(TriggerOperation triggerOperation)
        Set the operation type of the trigger.
        Parameters:
        triggerOperation - the trigger operation.
        Returns:
        the CosmosTriggerProperties.