public Anomaly addProfilesEntry(String key, java.util.Map<String, java.util.List<AnomalyObject>> value) {
        if (null == this.profiles) {
            this.profiles = new java.util.HashMap<String, java.util.Map<String, java.util.List<AnomalyObject>>>();
        }
        if (this.profiles.containsKey(key))
            throw new IllegalArgumentException("Duplicated keys (" + key.toString() + ") are provided.");
        this.profiles.put(key, value);
        return this;
    }
Add a single Profiles entry

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