Class PeriodicTimerEventTrigger

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

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

    • PeriodicTimerEventTrigger

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

    • sourceInfo

      public PeriodicTimerSourceInfo sourceInfo()
      Get the sourceInfo property: Periodic timer details.
      Returns:
      the sourceInfo value.
    • withSourceInfo

      public PeriodicTimerEventTrigger withSourceInfo(PeriodicTimerSourceInfo sourceInfo)
      Set the sourceInfo property: Periodic timer details.
      Parameters:
      sourceInfo - the sourceInfo value to set.
      Returns:
      the PeriodicTimerEventTrigger object itself.
    • sinkInfo

      public RoleSinkInfo sinkInfo()
      Get the sinkInfo property: Role Sink information.
      Returns:
      the sinkInfo value.
    • withSinkInfo

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

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