public ListTypeVersionsResult withTypeVersionSummaries(TypeVersionSummary... typeVersionSummaries) {
        if (this.typeVersionSummaries == null) {
            setTypeVersionSummaries(new com.amazonaws.internal.SdkInternalList<TypeVersionSummary>(typeVersionSummaries.length));
        }
        for (TypeVersionSummary ele : typeVersionSummaries) {
            this.typeVersionSummaries.add(ele);
        }
        return this;
    }
<p>
A list of <code>TypeVersionSummary</code> structures that contain information about the specified extension's
versions.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setTypeVersionSummaries(java.util.Collection)} or {@link #withTypeVersionSummaries(java.util.Collection)}
if you want to override the existing values.
</p>

@param typeVersionSummaries
       A list of <code>TypeVersionSummary</code> structures that contain information about the specified
       extension's versions.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudformation/src/main/java/com/amazonaws/services/cloudformation/model/ListTypeVersionsResult.java