Class FileTriggerProperties
java.lang.Object
com.azure.resourcemanager.databoxedge.fluent.models.FileTriggerProperties
File trigger properties.
-
Constructor Summary
-
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 info.Get the sourceInfo property: File event source 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 info.withSourceInfo
(FileSourceInfo sourceInfo) Set the sourceInfo property: File event source details.
-
Constructor Details
-
FileTriggerProperties
public FileTriggerProperties()Creates an instance of FileTriggerProperties class.
-
-
Method Details
-
sourceInfo
Get the sourceInfo property: File event source details.- Returns:
- the sourceInfo value.
-
withSourceInfo
Set the sourceInfo property: File event source details.- Parameters:
sourceInfo
- the sourceInfo value to set.- Returns:
- the FileTriggerProperties object itself.
-
sinkInfo
Get the sinkInfo property: Role sink info.- Returns:
- the sinkInfo value.
-
withSinkInfo
Set the sinkInfo property: Role sink info.- Parameters:
sinkInfo
- the sinkInfo value to set.- Returns:
- the FileTriggerProperties 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 FileTriggerProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-