public TracingConfigResponse withMode(TracingMode mode) {
        this.mode = mode.toString();
        return this;
    }
<p>
The tracing mode.
</p>

@param mode
       The tracing mode.
@return Returns a reference to this object so that method calls can be chained together.
@see TracingMode
aws-java-sdk-lambda/src/main/java/com/amazonaws/services/lambda/model/TracingConfigResponse.java