Class RouteErrorPosition

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

public final class RouteErrorPosition extends Object
Position where the route error happened.
  • Constructor Details

    • RouteErrorPosition

      public RouteErrorPosition()
  • Method Details

    • line

      public Integer line()
      Get the line property: Line where the route error happened.
      Returns:
      the line value.
    • withLine

      public RouteErrorPosition withLine(Integer line)
      Set the line property: Line where the route error happened.
      Parameters:
      line - the line value to set.
      Returns:
      the RouteErrorPosition object itself.
    • column

      public Integer column()
      Get the column property: Column where the route error happened.
      Returns:
      the column value.
    • withColumn

      public RouteErrorPosition withColumn(Integer column)
      Set the column property: Column where the route error happened.
      Parameters:
      column - the column value to set.
      Returns:
      the RouteErrorPosition object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.