public ModelScores addScoresEntry(String key, Float value) {
        if (null == this.scores) {
            this.scores = new java.util.HashMap<String, Float>();
        }
        if (this.scores.containsKey(key))
            throw new IllegalArgumentException("Duplicated keys (" + key.toString() + ") are provided.");
        this.scores.put(key, value);
        return this;
    }
Add a single Scores entry

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