public FindingCriteria addCriterionEntry(String key, CriterionAdditionalProperties value) {
        if (null == this.criterion) {
            this.criterion = new java.util.HashMap<String, CriterionAdditionalProperties>();
        }
        if (this.criterion.containsKey(key))
            throw new IllegalArgumentException("Duplicated keys (" + key.toString() + ") are provided.");
        this.criterion.put(key, value);
        return this;
    }
Add a single Criterion entry

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