public UpdateEntityRequest addCompositeComponentUpdatesEntry(String key, CompositeComponentUpdateRequest value) {
        if (null == this.compositeComponentUpdates) {
            this.compositeComponentUpdates = new java.util.HashMap<String, CompositeComponentUpdateRequest>();
        }
        if (this.compositeComponentUpdates.containsKey(key))
            throw new IllegalArgumentException("Duplicated keys (" + key.toString() + ") are provided.");
        this.compositeComponentUpdates.put(key, value);
        return this;
    }
Add a single CompositeComponentUpdates entry

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