Class RouteCompilationError
java.lang.Object
com.azure.resourcemanager.iothub.models.RouteCompilationError
Compilation error when evaluating route.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlocation()
Get the location property: Location where the route error happened.message()
Get the message property: Route error message.severity()
Get the severity property: Severity of the route error.void
validate()
Validates the instance.withLocation
(RouteErrorRange location) Set the location property: Location where the route error happened.withMessage
(String message) Set the message property: Route error message.withSeverity
(RouteErrorSeverity severity) Set the severity property: Severity of the route error.
-
Constructor Details
-
RouteCompilationError
public RouteCompilationError()
-
-
Method Details
-
message
Get the message property: Route error message.- Returns:
- the message value.
-
withMessage
Set the message property: Route error message.- Parameters:
message
- the message value to set.- Returns:
- the RouteCompilationError object itself.
-
severity
Get the severity property: Severity of the route error.- Returns:
- the severity value.
-
withSeverity
Set the severity property: Severity of the route error.- Parameters:
severity
- the severity value to set.- Returns:
- the RouteCompilationError object itself.
-
location
Get the location property: Location where the route error happened.- Returns:
- the location value.
-
withLocation
Set the location property: Location where the route error happened.- Parameters:
location
- the location value to set.- Returns:
- the RouteCompilationError object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-