Class RouteErrorRange
java.lang.Object
com.azure.resourcemanager.iothub.models.RouteErrorRange
Range of route errors.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionend()
Get the end property: End where the route error happened.start()
Get the start property: Start where the route error happened.void
validate()
Validates the instance.Set the end property: End where the route error happened.withStart
(RouteErrorPosition start) Set the start property: Start where the route error happened.
-
Constructor Details
-
RouteErrorRange
public RouteErrorRange()
-
-
Method Details
-
start
Get the start property: Start where the route error happened.- Returns:
- the start value.
-
withStart
Set the start property: Start where the route error happened.- Parameters:
start
- the start value to set.- Returns:
- the RouteErrorRange object itself.
-
end
Get the end property: End where the route error happened.- Returns:
- the end value.
-
withEnd
Set the end property: End where the route error happened.- Parameters:
end
- the end value to set.- Returns:
- the RouteErrorRange object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-