public MethodSetting withDataTraceEnabled(Boolean dataTraceEnabled) {
        setDataTraceEnabled(dataTraceEnabled);
        return this;
    }
<p>
Specifies whether data trace logging is enabled for this method, which affects the log entries pushed to Amazon
CloudWatch Logs. This can be useful to troubleshoot APIs, but can result in logging sensitive data. We recommend
that you don't enable this option for production APIs.
</p>

@param dataTraceEnabled
       Specifies whether data trace logging is enabled for this method, which affects the log entries pushed to
       Amazon CloudWatch Logs. This can be useful to troubleshoot APIs, but can result in logging sensitive data.
       We recommend that you don't enable this option for production APIs.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-api-gateway/src/main/java/com/amazonaws/services/apigateway/model/MethodSetting.java