public RouteSettings withDataTraceEnabled(Boolean dataTraceEnabled) {
        setDataTraceEnabled(dataTraceEnabled);
        return this;
    }
<p>
Specifies whether (true) or not (false) data trace logging is enabled for this route. This property affects the
log entries pushed to Amazon CloudWatch Logs. Supported only for WebSocket APIs.
</p>

@param dataTraceEnabled
       Specifies whether (true) or not (false) data trace logging is enabled for this route. 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.
aws-java-sdk-apigatewayv2/src/main/java/com/amazonaws/services/apigatewayv2/model/RouteSettings.java