public ListLogPatternSetsResult withLogPatternSets(String... logPatternSets) {
        if (this.logPatternSets == null) {
            setLogPatternSets(new java.util.ArrayList<String>(logPatternSets.length));
        }
        for (String ele : logPatternSets) {
            this.logPatternSets.add(ele);
        }
        return this;
    }
<p>
The list of log pattern sets.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setLogPatternSets(java.util.Collection)} or {@link #withLogPatternSets(java.util.Collection)} if you want
to override the existing values.
</p>

@param logPatternSets
       The list of log pattern sets.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-applicationinsights/src/main/java/com/amazonaws/services/applicationinsights/model/ListLogPatternSetsResult.java