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

@see DatasourcePackageIngestDetail#withLastIngestStateChange
@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/DatasourcePackageIngestDetail.java