public ListSchemaVersionsResult withSchemaVersions(SchemaVersionSummary... schemaVersions) {
        if (this.schemaVersions == null) {
            setSchemaVersions(new java.util.ArrayList<SchemaVersionSummary>(schemaVersions.length));
        }
        for (SchemaVersionSummary ele : schemaVersions) {
            this.schemaVersions.add(ele);
        }
        return this;
    }
<p>
An array of schema version summaries.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setSchemaVersions(java.util.Collection)} or {@link #withSchemaVersions(java.util.Collection)} if you want
to override the existing values.
</p>

@param schemaVersions
       An array of schema version summaries.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-schemas/src/main/java/com/amazonaws/services/schemas/model/ListSchemaVersionsResult.java