public ImageScanFindings addFindingSeverityCountsEntry(String key, Integer value) {
        if (null == this.findingSeverityCounts) {
            this.findingSeverityCounts = new java.util.HashMap<String, Integer>();
        }
        if (this.findingSeverityCounts.containsKey(key))
            throw new IllegalArgumentException("Duplicated keys (" + key.toString() + ") are provided.");
        this.findingSeverityCounts.put(key, value);
        return this;
    }
Add a single FindingSeverityCounts entry

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