public UpdateEventSourceMappingRequest withEnabled(Boolean enabled) {
        setEnabled(enabled);
        return this;
    }
<p>
When true, the event source mapping is active. When false, Lambda pauses polling and invocation.
</p>
<p>
Default: True
</p>

@param enabled
       When true, the event source mapping is active. When false, Lambda pauses polling and invocation.</p>
       <p>
       Default: True
@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/UpdateEventSourceMappingRequest.java