public GetLogAnomalyDetectorResult withAnomalyDetectorStatus(AnomalyDetectorStatus anomalyDetectorStatus) {
        this.anomalyDetectorStatus = anomalyDetectorStatus.toString();
        return this;
    }
<p>
Specifies whether the anomaly detector is currently active. To change its status, use the <code>enabled</code>
parameter in the <a
href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_UpdateLogAnomalyDetector.html"
>UpdateLogAnomalyDetector</a> operation.
</p>

@param anomalyDetectorStatus
       Specifies whether the anomaly detector is currently active. To change its status, use the
       <code>enabled</code> parameter in the <a
       href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_UpdateLogAnomalyDetector.html"
       >UpdateLogAnomalyDetector</a> operation.
@return Returns a reference to this object so that method calls can be chained together.
@see AnomalyDetectorStatus
aws-java-sdk-logs/src/main/java/com/amazonaws/services/logs/model/GetLogAnomalyDetectorResult.java