Class RouteErrorRange
- java.lang.Object
-
- com.azure.resourcemanager.iothub.models.RouteErrorRange
-
public final class RouteErrorRange extends Object
Range of route errors.
-
-
Constructor Summary
Constructors Constructor Description RouteErrorRange()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RouteErrorPosition
end()
Get the end property: End where the route error happened.RouteErrorPosition
start()
Get the start property: Start where the route error happened.void
validate()
Validates the instance.RouteErrorRange
withEnd(RouteErrorPosition end)
Set the end property: End where the route error happened.RouteErrorRange
withStart(RouteErrorPosition start)
Set the start property: Start where the route error happened.
-
-
-
Method Detail
-
start
public RouteErrorPosition start()
Get the start property: Start where the route error happened.- Returns:
- the start value.
-
withStart
public RouteErrorRange withStart(RouteErrorPosition start)
Set the start property: Start where the route error happened.- Parameters:
start
- the start value to set.- Returns:
- the RouteErrorRange object itself.
-
end
public RouteErrorPosition end()
Get the end property: End where the route error happened.- Returns:
- the end value.
-
withEnd
public RouteErrorRange withEnd(RouteErrorPosition end)
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.
-
-