public GetLogAnomalyDetectorResult withLogGroupArnList(String... logGroupArnList) {
        if (this.logGroupArnList == null) {
            setLogGroupArnList(new com.amazonaws.internal.SdkInternalList<String>(logGroupArnList.length));
        }
        for (String ele : logGroupArnList) {
            this.logGroupArnList.add(ele);
        }
        return this;
    }
<p>
An array of structures, where each structure contains the ARN of a log group associated with this anomaly
detector.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setLogGroupArnList(java.util.Collection)} or {@link #withLogGroupArnList(java.util.Collection)} if you
want to override the existing values.
</p>

@param logGroupArnList
       An array of structures, where each structure contains the ARN of a log group associated with this 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/GetLogAnomalyDetectorResult.java