public SqlApplicationConfiguration withReferenceDataSources(ReferenceDataSource... referenceDataSources) {
        if (this.referenceDataSources == null) {
            setReferenceDataSources(new java.util.ArrayList<ReferenceDataSource>(referenceDataSources.length));
        }
        for (ReferenceDataSource ele : referenceDataSources) {
            this.referenceDataSources.add(ele);
        }
        return this;
    }
<p>
The array of <a>ReferenceDataSource</a> objects describing the reference data sources used by the application.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setReferenceDataSources(java.util.Collection)} or {@link #withReferenceDataSources(java.util.Collection)}
if you want to override the existing values.
</p>

@param referenceDataSources
       The array of <a>ReferenceDataSource</a> objects describing the reference data sources used by the
       application.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-kinesisanalyticsv2/src/main/java/com/amazonaws/services/kinesisanalyticsv2/model/SqlApplicationConfiguration.java