public BatchDescribeEntitiesResult addEntityDetailsEntry(String key, EntityDetail value) {
        if (null == this.entityDetails) {
            this.entityDetails = new java.util.HashMap<String, EntityDetail>();
        }
        if (this.entityDetails.containsKey(key))
            throw new IllegalArgumentException("Duplicated keys (" + key.toString() + ") are provided.");
        this.entityDetails.put(key, value);
        return this;
    }
Add a single EntityDetails entry

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