Class FileEventTrigger

java.lang.Object
com.azure.core.management.ProxyResource

public final class FileEventTrigger extends TriggerInner
Trigger details.
  • Constructor Details

    • FileEventTrigger

      public FileEventTrigger()
      Creates an instance of FileEventTrigger class.
  • Method Details

    • sourceInfo

      public FileSourceInfo sourceInfo()
      Get the sourceInfo property: File event source details.
      Returns:
      the sourceInfo value.
    • withSourceInfo

      public FileEventTrigger withSourceInfo(FileSourceInfo sourceInfo)
      Set the sourceInfo property: File event source details.
      Parameters:
      sourceInfo - the sourceInfo value to set.
      Returns:
      the FileEventTrigger object itself.
    • sinkInfo

      public RoleSinkInfo sinkInfo()
      Get the sinkInfo property: Role sink info.
      Returns:
      the sinkInfo value.
    • withSinkInfo

      public FileEventTrigger withSinkInfo(RoleSinkInfo sinkInfo)
      Set the sinkInfo property: Role sink info.
      Parameters:
      sinkInfo - the sinkInfo value to set.
      Returns:
      the FileEventTrigger object itself.
    • customContextTag

      public String customContextTag()
      Get the customContextTag property: A custom context tag typically used to correlate the trigger against its usage. For example, if a periodic timer trigger is intended for certain specific IoT modules in the device, the tag can be the name or the image URL of the module.
      Returns:
      the customContextTag value.
    • withCustomContextTag

      public FileEventTrigger withCustomContextTag(String customContextTag)
      Set the customContextTag property: A custom context tag typically used to correlate the trigger against its usage. For example, if a periodic timer trigger is intended for certain specific IoT modules in the device, the tag can be the name or the image URL of the module.
      Parameters:
      customContextTag - the customContextTag value to set.
      Returns:
      the FileEventTrigger object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class TriggerInner
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.