RouteCompilationError Class
- java.
lang. Object - com.
azure. resourcemanager. iothub. models. RouteCompilationError
- com.
public final class RouteCompilationError
Compilation error when evaluating route.
Constructor Summary
Constructor | Description |
---|---|
RouteCompilationError() |
Creates an instance of Route |
Method Summary
Modifier and Type | Method and Description |
---|---|
Route |
location()
Get the location property: Location where the route error happened. |
String |
message()
Get the message property: Route error message. |
Route |
severity()
Get the severity property: Severity of the route error. |
void |
validate()
Validates the instance. |
Route |
withLocation(RouteErrorRange location)
Set the location property: Location where the route error happened. |
Route |
withMessage(String message)
Set the message property: Route error message. |
Route |
withSeverity(RouteErrorSeverity severity)
Set the severity property: Severity of the route error. |
Methods inherited from java.lang.Object
Constructor Details
RouteCompilationError
public RouteCompilationError()
Creates an instance of RouteCompilationError class.
Method Details
location
public RouteErrorRange location()
Get the location property: Location where the route error happened.
Returns:
message
public String message()
Get the message property: Route error message.
Returns:
severity
public RouteErrorSeverity severity()
Get the severity property: Severity of the route error.
Returns:
validate
public void validate()
Validates the instance.
withLocation
public RouteCompilationError withLocation(RouteErrorRange location)
Set the location property: Location where the route error happened.
Parameters:
Returns:
withMessage
public RouteCompilationError withMessage(String message)
Set the message property: Route error message.
Parameters:
Returns:
withSeverity
public RouteCompilationError withSeverity(RouteErrorSeverity severity)
Set the severity property: Severity of the route error.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for