public LogsAnomalyDetectionIntegrationConfig withOptInStatus(String optInStatus) {
        setOptInStatus(optInStatus);
        return this;
    }
<p>
Specifies if DevOps Guru is configured to perform log anomaly detection on CloudWatch log groups.
</p>

@param optInStatus
       Specifies if DevOps Guru is configured to perform log anomaly detection on CloudWatch log groups.
@return Returns a reference to this object so that method calls can be chained together.
@see OptInStatus
aws-java-sdk-devopsguru/src/main/java/com/amazonaws/services/devopsguru/model/LogsAnomalyDetectionIntegrationConfig.java