Class TestRouteInput
java.lang.Object
com.azure.resourcemanager.iothub.models.TestRouteInput
Input for testing route.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionmessage()
Get the message property: Routing message.route()
Get the route property: Route properties.twin()
Get the twin property: Routing Twin Reference.void
validate()
Validates the instance.withMessage
(RoutingMessage message) Set the message property: Routing message.withRoute
(RouteProperties route) Set the route property: Route properties.withTwin
(RoutingTwin twin) Set the twin property: Routing Twin Reference.
-
Constructor Details
-
TestRouteInput
public TestRouteInput()
-
-
Method Details
-
message
Get the message property: Routing message.- Returns:
- the message value.
-
withMessage
Set the message property: Routing message.- Parameters:
message
- the message value to set.- Returns:
- the TestRouteInput object itself.
-
route
Get the route property: Route properties.- Returns:
- the route value.
-
withRoute
Set the route property: Route properties.- Parameters:
route
- the route value to set.- Returns:
- the TestRouteInput object itself.
-
twin
Get the twin property: Routing Twin Reference.- Returns:
- the twin value.
-
withTwin
Set the twin property: Routing Twin Reference.- Parameters:
twin
- the twin value to set.- Returns:
- the TestRouteInput object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-