public CreateFunctionRequest withTracingConfig(TracingConfig tracingConfig) {
        setTracingConfig(tracingConfig);
        return this;
    }
<p>
Set <code>Mode</code> to <code>Active</code> to sample and trace a subset of incoming requests with <a
href="https://docs.aws.amazon.com/lambda/latest/dg/services-xray.html">X-Ray</a>.
</p>

@param tracingConfig
       Set <code>Mode</code> to <code>Active</code> to sample and trace a subset of incoming requests with <a
       href="https://docs.aws.amazon.com/lambda/latest/dg/services-xray.html">X-Ray</a>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lambda/src/main/java/com/amazonaws/services/lambda/model/CreateFunctionRequest.java