Class TestAllRoutesResultInner
- java.lang.Object
-
- com.azure.resourcemanager.iothub.fluent.models.TestAllRoutesResultInner
-
public final class TestAllRoutesResultInner extends Object
Result of testing all routes.
-
-
Constructor Summary
Constructors Constructor Description TestAllRoutesResultInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<MatchedRoute>
routes()
Get the routes property: JSON-serialized array of matched routes.void
validate()
Validates the instance.TestAllRoutesResultInner
withRoutes(List<MatchedRoute> routes)
Set the routes property: JSON-serialized array of matched routes.
-
-
-
Method Detail
-
routes
public List<MatchedRoute> routes()
Get the routes property: JSON-serialized array of matched routes.- Returns:
- the routes value.
-
withRoutes
public TestAllRoutesResultInner withRoutes(List<MatchedRoute> routes)
Set the routes property: JSON-serialized array of matched routes.- Parameters:
routes
- the routes value to set.- Returns:
- the TestAllRoutesResultInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-