public MembershipDatasources addDatasourcePackageIngestHistoryEntry(String key, java.util.Map<String, TimestampForCollection> value) {
        if (null == this.datasourcePackageIngestHistory) {
            this.datasourcePackageIngestHistory = new java.util.HashMap<String, java.util.Map<String, TimestampForCollection>>();
        }
        if (this.datasourcePackageIngestHistory.containsKey(key))
            throw new IllegalArgumentException("Duplicated keys (" + key.toString() + ") are provided.");
        this.datasourcePackageIngestHistory.put(key, value);
        return this;
    }
Add a single DatasourcePackageIngestHistory entry

@see MembershipDatasources#withDatasourcePackageIngestHistory
@returns a reference to this object so that method calls can be chained together.
aws-java-sdk-detective/src/main/java/com/amazonaws/services/detective/model/MembershipDatasources.java