public ListWorldTemplatesResult withTemplateSummaries(TemplateSummary... templateSummaries) {
        if (this.templateSummaries == null) {
            setTemplateSummaries(new java.util.ArrayList<TemplateSummary>(templateSummaries.length));
        }
        for (TemplateSummary ele : templateSummaries) {
            this.templateSummaries.add(ele);
        }
        return this;
    }
<p>
Summary information for templates.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setTemplateSummaries(java.util.Collection)} or {@link #withTemplateSummaries(java.util.Collection)} if
you want to override the existing values.
</p>

@param templateSummaries
       Summary information for templates.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-robomaker/src/main/java/com/amazonaws/services/robomaker/model/ListWorldTemplatesResult.java