public UpdateDatasourcePackagesRequest withDatasourcePackages(DatasourcePackage... datasourcePackages) {
        java.util.ArrayList<String> datasourcePackagesCopy = new java.util.ArrayList<String>(datasourcePackages.length);
        for (DatasourcePackage value : datasourcePackages) {
            datasourcePackagesCopy.add(value.toString());
        }
        if (getDatasourcePackages() == null) {
            setDatasourcePackages(datasourcePackagesCopy);
        } else {
            getDatasourcePackages().addAll(datasourcePackagesCopy);
        }
        return this;
    }
<p>
The data source package start for the behavior graph.
</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