public RouteSettings withDetailedMetricsEnabled(Boolean detailedMetricsEnabled) {
        setDetailedMetricsEnabled(detailedMetricsEnabled);
        return this;
    }
<p>
Specifies whether detailed metrics are enabled.
</p>

@param detailedMetricsEnabled
       Specifies whether detailed metrics are enabled.
@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