DigitalTwinsEventRoute Class
- java.
lang. Object - com.
azure. digitaltwins. core. models. DigitalTwinsEventRoute
- com.
public final class DigitalTwinsEventRoute
The EventRoute model. Event routes are used for defining where published telemetry gets sent to. As an example, an event route can point towards an Azure EventHub as a consumer of published telemetry.
Constructor Summary
Constructor | Description |
---|---|
DigitalTwinsEventRoute(String endpointName) |
Creates an instance of Event |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
getEndpointName()
Get the endpoint |
String |
getEventRouteId()
Get this event route's id property: The id of the event route. |
String |
getFilter()
Get the filter property: An expression which describes the events which are routed to the endpoint. |
Digital |
setEventRouteId(String id)
Sets this event route's Id. |
Digital |
setFilter(String filter)
Set the filter property: An expression which describes the events which are routed to the endpoint. |
Methods inherited from java.lang.Object
Constructor Details
DigitalTwinsEventRoute
public DigitalTwinsEventRoute(String endpointName)
Creates an instance of EventRoute class.
Parameters:
Method Details
getEndpointName
public String getEndpointName()
Get the endpointName property: The name of the endpoint this event route is bound to.
Returns:
getEventRouteId
public String getEventRouteId()
Get this event route's id property: The id of the event route.
Returns:
getFilter
public String getFilter()
Get the filter property: An expression which describes the events which are routed to the endpoint.
Returns:
setEventRouteId
public DigitalTwinsEventRoute setEventRouteId(String id)
Sets this event route's Id.
Parameters:
Returns:
setFilter
public DigitalTwinsEventRoute setFilter(String filter)
Set the filter property: An expression which describes the events which are routed to the endpoint.
Parameters:
Returns:
Applies to
Azure SDK for Java