Class TestAllRoutesInput
java.lang.Object
com.azure.resourcemanager.iothub.models.TestAllRoutesInput
Input for testing all routes.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionmessage()
Get the message property: Routing message.Get the routingSource property: Routing source.twin()
Get the twin property: Routing Twin Reference.void
validate()
Validates the instance.withMessage
(RoutingMessage message) Set the message property: Routing message.withRoutingSource
(RoutingSource routingSource) Set the routingSource property: Routing source.withTwin
(RoutingTwin twin) Set the twin property: Routing Twin Reference.
-
Constructor Details
-
TestAllRoutesInput
public TestAllRoutesInput()
-
-
Method Details
-
routingSource
Get the routingSource property: Routing source.- Returns:
- the routingSource value.
-
withRoutingSource
Set the routingSource property: Routing source.- Parameters:
routingSource
- the routingSource value to set.- Returns:
- the TestAllRoutesInput object itself.
-
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 TestAllRoutesInput 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 TestAllRoutesInput object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-