public DataSourceIntrospectionModel withIndexes(DataSourceIntrospectionModelIndex... indexes) {
        if (this.indexes == null) {
            setIndexes(new java.util.ArrayList<DataSourceIntrospectionModelIndex>(indexes.length));
        }
        for (DataSourceIntrospectionModelIndex ele : indexes) {
            this.indexes.add(ele);
        }
        return this;
    }
<p>
The array of <code>DataSourceIntrospectionModelIndex</code> objects.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setIndexes(java.util.Collection)} or {@link #withIndexes(java.util.Collection)} if you want to override
the existing values.
</p>

@param indexes
       The array of <code>DataSourceIntrospectionModelIndex</code> objects.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-appsync/src/main/java/com/amazonaws/services/appsync/model/DataSourceIntrospectionModel.java