Class RouteErrorRange

java.lang.Object
com.azure.resourcemanager.iothub.models.RouteErrorRange

public final class RouteErrorRange extends Object
Range of route errors.
  • Constructor Details

    • RouteErrorRange

      public RouteErrorRange()
  • Method Details

    • 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.