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

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