public AnomalyDetectorSummary withStatus(AnomalyDetectorStatus status) {
        this.status = status.toString();
        return this;
    }
<p>
The status of detector.
</p>

@param status
       The status of detector.
@return Returns a reference to this object so that method calls can be chained together.
@see AnomalyDetectorStatus
aws-java-sdk-lookoutmetrics/src/main/java/com/amazonaws/services/lookoutmetrics/model/AnomalyDetectorSummary.java