Class PeriodicTimerEventTrigger
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.databoxedge.models.ArmBaseModel
com.azure.resourcemanager.databoxedge.fluent.models.TriggerInner
com.azure.resourcemanager.databoxedge.models.PeriodicTimerEventTrigger
Trigger details.
-
Constructor Summary
ConstructorDescriptionCreates an instance of PeriodicTimerEventTrigger class. -
Method Summary
Modifier and TypeMethodDescriptionGet the customContextTag property: A custom context tag typically used to correlate the trigger against its usage.sinkInfo()
Get the sinkInfo property: Role Sink information.Get the sourceInfo property: Periodic timer details.void
validate()
Validates the instance.withCustomContextTag
(String customContextTag) Set the customContextTag property: A custom context tag typically used to correlate the trigger against its usage.withSinkInfo
(RoleSinkInfo sinkInfo) Set the sinkInfo property: Role Sink information.withSourceInfo
(PeriodicTimerSourceInfo sourceInfo) Set the sourceInfo property: Periodic timer details.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
PeriodicTimerEventTrigger
public PeriodicTimerEventTrigger()Creates an instance of PeriodicTimerEventTrigger class.
-
-
Method Details
-
sourceInfo
Get the sourceInfo property: Periodic timer details.- Returns:
- the sourceInfo value.
-
withSourceInfo
Set the sourceInfo property: Periodic timer details.- Parameters:
sourceInfo
- the sourceInfo value to set.- Returns:
- the PeriodicTimerEventTrigger object itself.
-
sinkInfo
Get the sinkInfo property: Role Sink information.- Returns:
- the sinkInfo value.
-
withSinkInfo
Set the sinkInfo property: Role Sink information.- Parameters:
sinkInfo
- the sinkInfo value to set.- Returns:
- the PeriodicTimerEventTrigger object itself.
-
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
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 classTriggerInner
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-