FileEventTrigger Class
- 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. FileEventTrigger
- com.
- com.
- com.
- com.
public final class FileEventTrigger
extends TriggerInner
Trigger details.
Constructor Summary
| Constructor | Description |
|---|---|
| FileEventTrigger() |
Creates an instance of File |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
customContextTag()
Get the custom |
|
static
File |
fromJson(JsonReader jsonReader)
Reads an instance of File |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
|
Trigger |
kind()
Get the kind property: Trigger Kind. |
| String |
name()
Get the name property: The name of the resource. |
|
Role |
sinkInfo()
Get the sink |
|
File |
sourceInfo()
Get the source |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
File |
withCustomContextTag(String customContextTag)
Set the custom |
|
File |
withSinkInfo(RoleSinkInfo sinkInfo)
Set the sink |
|
File |
withSourceInfo(FileSourceInfo sourceInfo)
Set the source |
Methods inherited from TriggerInner
Methods inherited from java.lang.Object
Constructor Details
FileEventTrigger
public FileEventTrigger()
Creates an instance of FileEventTrigger class.
Method Details
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:
fromJson
public static FileEventTrigger fromJson(JsonReader jsonReader)
Reads an instance of FileEventTrigger from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
FileEventTrigger.id()Returns:
kind
public TriggerEventType kind()
Get the kind property: Trigger Kind.
Overrides:
FileEventTrigger.kind()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
FileEventTrigger.name()Returns:
sinkInfo
public RoleSinkInfo sinkInfo()
Get the sinkInfo property: Role sink info.
Returns:
sourceInfo
public FileSourceInfo sourceInfo()
Get the sourceInfo property: File event source details.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
FileEventTrigger.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
FileEventTrigger.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
FileEventTrigger.validate()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:
Returns:
withSinkInfo
public FileEventTrigger withSinkInfo(RoleSinkInfo sinkInfo)
Set the sinkInfo property: Role sink info.
Parameters:
Returns:
withSourceInfo
public FileEventTrigger withSourceInfo(FileSourceInfo sourceInfo)
Set the sourceInfo property: File event source details.
Parameters:
Returns: