public RouteSettings withLoggingLevel(String loggingLevel) {
        setLoggingLevel(loggingLevel);
        return this;
    }
<p>
Specifies the logging level for this route: INFO, ERROR, or OFF. This property affects the log entries pushed to
Amazon CloudWatch Logs. Supported only for WebSocket APIs.
</p>

@param loggingLevel
       Specifies the logging level for this route: INFO, ERROR, or OFF. This property affects the log entries
       pushed to Amazon CloudWatch Logs. Supported only for WebSocket APIs.
@return Returns a reference to this object so that method calls can be chained together.
@see LoggingLevel
aws-java-sdk-apigatewayv2/src/main/java/com/amazonaws/services/apigatewayv2/model/RouteSettings.java