public UpdateLogAnomalyDetectorRequest withEnabled(Boolean enabled) {
        setEnabled(enabled);
        return this;
    }
<p>
Use this parameter to pause or restart the anomaly detector.
</p>

@param enabled
       Use this parameter to pause or restart the anomaly detector.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-logs/src/main/java/com/amazonaws/services/logs/model/UpdateLogAnomalyDetectorRequest.java