Class FileTriggerProperties

java.lang.Object
com.azure.resourcemanager.databoxedge.fluent.models.FileTriggerProperties

public final class FileTriggerProperties extends Object
File trigger properties.
  • Constructor Details

    • FileTriggerProperties

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

    • sourceInfo

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

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

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

      public FileTriggerProperties withSinkInfo(RoleSinkInfo sinkInfo)
      Set the sinkInfo property: Role sink info.
      Parameters:
      sinkInfo - the sinkInfo value to set.
      Returns:
      the FileTriggerProperties 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 FileTriggerProperties 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 FileTriggerProperties object itself.
    • validate

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