public GetApplicationResult withLogGroups(LogGroupSummary... logGroups) {
        if (this.logGroups == null) {
            setLogGroups(new java.util.ArrayList<LogGroupSummary>(logGroups.length));
        }
        for (LogGroupSummary ele : logGroups) {
            this.logGroups.add(ele);
        }
        return this;
    }
<p>
The list of log summaries. Each log summary includes the log type as well as the log group identifier. These are
CloudWatch logs. Amazon Web Services Mainframe Modernization pushes the application log to CloudWatch under the
customer's account.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setLogGroups(java.util.Collection)} or {@link #withLogGroups(java.util.Collection)} if you want to
override the existing values.
</p>

@param logGroups
       The list of log summaries. Each log summary includes the log type as well as the log group identifier.
       These are CloudWatch logs. Amazon Web Services Mainframe Modernization pushes the application log to
       CloudWatch under the customer's account.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-mainframemodernization/src/main/java/com/amazonaws/services/mainframemodernization/model/GetApplicationResult.java