Class TestAllRoutesInput
- java.lang.Object
-
- com.azure.resourcemanager.iothub.models.TestAllRoutesInput
-
public final class TestAllRoutesInput extends Object
Input for testing all routes.
-
-
Constructor Summary
Constructors Constructor Description TestAllRoutesInput()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RoutingMessage
message()
Get the message property: Routing message.RoutingSource
routingSource()
Get the routingSource property: Routing source.RoutingTwin
twin()
Get the twin property: Routing Twin Reference.void
validate()
Validates the instance.TestAllRoutesInput
withMessage(RoutingMessage message)
Set the message property: Routing message.TestAllRoutesInput
withRoutingSource(RoutingSource routingSource)
Set the routingSource property: Routing source.TestAllRoutesInput
withTwin(RoutingTwin twin)
Set the twin property: Routing Twin Reference.
-
-
-
Method Detail
-
routingSource
public RoutingSource routingSource()
Get the routingSource property: Routing source.- Returns:
- the routingSource value.
-
withRoutingSource
public TestAllRoutesInput withRoutingSource(RoutingSource routingSource)
Set the routingSource property: Routing source.- Parameters:
routingSource
- the routingSource value to set.- Returns:
- the TestAllRoutesInput object itself.
-
message
public RoutingMessage message()
Get the message property: Routing message.- Returns:
- the message value.
-
withMessage
public TestAllRoutesInput withMessage(RoutingMessage message)
Set the message property: Routing message.- Parameters:
message
- the message value to set.- Returns:
- the TestAllRoutesInput object itself.
-
twin
public RoutingTwin twin()
Get the twin property: Routing Twin Reference.- Returns:
- the twin value.
-
withTwin
public TestAllRoutesInput withTwin(RoutingTwin twin)
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.
-
-