Class RouteErrorPosition
- java.lang.Object
-
- com.azure.resourcemanager.iothub.models.RouteErrorPosition
-
public final class RouteErrorPosition extends Object
Position where the route error happened.
-
-
Constructor Summary
Constructors Constructor Description RouteErrorPosition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
column()
Get the column property: Column where the route error happened.Integer
line()
Get the line property: Line where the route error happened.void
validate()
Validates the instance.RouteErrorPosition
withColumn(Integer column)
Set the column property: Column where the route error happened.RouteErrorPosition
withLine(Integer line)
Set the line property: Line where the route error happened.
-
-
-
Method Detail
-
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.
-
-