public UpdateDatasourcePackagesRequest withDatasourcePackages(String... datasourcePackages) {
        if (this.datasourcePackages == null) {
            setDatasourcePackages(new java.util.ArrayList<String>(datasourcePackages.length));
        }
        for (String ele : datasourcePackages) {
            this.datasourcePackages.add(ele);
        }
        return this;
    }
<p>
The data source package start for the behavior graph.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setDatasourcePackages(java.util.Collection)} or {@link #withDatasourcePackages(java.util.Collection)} if
you want to override the existing values.
</p>

@param datasourcePackages
       The data source package start for the behavior graph.
@return Returns a reference to this object so that method calls can be chained together.
@see DatasourcePackage
aws-java-sdk-detective/src/main/java/com/amazonaws/services/detective/model/UpdateDatasourcePackagesRequest.java