EventArgs

data class EventArgs(val capabilityId: Output<String>? = null, val eventConfiguration: Output<String>? = null, val eventNotifier: Output<String>, val name: Output<String>? = null, val observabilityMode: Output<Either<String, EventsObservabilityMode>>? = null) : ConvertibleToJava<EventArgs>

Defines the event properties.

Constructors

Link copied to clipboard
constructor(capabilityId: Output<String>? = null, eventConfiguration: Output<String>? = null, eventNotifier: Output<String>, name: Output<String>? = null, observabilityMode: Output<Either<String, EventsObservabilityMode>>? = null)

Properties

Link copied to clipboard
val capabilityId: Output<String>? = null

The path to the type definition of the capability (e.g. DTMI, OPC UA information model node id, etc.), for example dtmi:com:example:Robot:_contents:__prop1;1.

Link copied to clipboard
val eventConfiguration: Output<String>? = null

Stringified JSON that contains connector-specific configuration for the event. For OPC UA, this could include configuration like, publishingInterval, samplingInterval, and queueSize.

Link copied to clipboard
val eventNotifier: Output<String>

The address of the notifier of the event in the asset (e.g. URL) so that a client can access the event on the asset.

Link copied to clipboard
val name: Output<String>? = null

The name of the event.

Link copied to clipboard
val observabilityMode: Output<Either<String, EventsObservabilityMode>>? = null

An indication of how the event should be mapped to OpenTelemetry.

Functions

Link copied to clipboard
open override fun toJava(): EventArgs