RouteErrorPosition Class

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

public final class RouteErrorPosition

Position where the route error happened.

Constructor Summary

Constructor Description
RouteErrorPosition()

Creates an instance of RouteErrorPosition class.

Method Summary

Modifier and Type Method and 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.

Methods inherited from java.lang.Object

Constructor Details

RouteErrorPosition

public RouteErrorPosition()

Creates an instance of RouteErrorPosition class.

Method Details

column

public Integer column()

Get the column property: Column where the route error happened.

Returns:

the column value.

line

public Integer line()

Get the line property: Line where the route error happened.

Returns:

the line value.

validate

public void validate()

Validates the instance.

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.

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.

Applies to