public ConnectorConfiguration withSupportedApiVersions(String... supportedApiVersions) {
        if (this.supportedApiVersions == null) {
            setSupportedApiVersions(new java.util.ArrayList<String>(supportedApiVersions.length));
        }
        for (String ele : supportedApiVersions) {
            this.supportedApiVersions.add(ele);
        }
        return this;
    }
<p>
A list of API versions that are supported by the connector.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setSupportedApiVersions(java.util.Collection)} or {@link #withSupportedApiVersions(java.util.Collection)}
if you want to override the existing values.
</p>

@param supportedApiVersions
       A list of API versions that are supported by the connector.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-appflow/src/main/java/com/amazonaws/services/appflow/model/ConnectorConfiguration.java