public ListIntentPathsResult withNodeSummaries(AnalyticsIntentNodeSummary... nodeSummaries) {
        if (this.nodeSummaries == null) {
            setNodeSummaries(new java.util.ArrayList<AnalyticsIntentNodeSummary>(nodeSummaries.length));
        }
        for (AnalyticsIntentNodeSummary ele : nodeSummaries) {
            this.nodeSummaries.add(ele);
        }
        return this;
    }
<p>
A list of objects, each of which contains information about a node in the intent path for which you requested
metrics.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setNodeSummaries(java.util.Collection)} or {@link #withNodeSummaries(java.util.Collection)} if you want
to override the existing values.
</p>

@param nodeSummaries
       A list of objects, each of which contains information about a node in the intent path for which you
       requested metrics.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lexmodelsv2/src/main/java/com/amazonaws/services/lexmodelsv2/model/ListIntentPathsResult.java