public GetComponentTypeResult addCompositeComponentTypesEntry(String key, CompositeComponentTypeResponse value) {
        if (null == this.compositeComponentTypes) {
            this.compositeComponentTypes = new java.util.HashMap<String, CompositeComponentTypeResponse>();
        }
        if (this.compositeComponentTypes.containsKey(key))
            throw new IllegalArgumentException("Duplicated keys (" + key.toString() + ") are provided.");
        this.compositeComponentTypes.put(key, value);
        return this;
    }
Add a single CompositeComponentTypes entry

@see GetComponentTypeResult#withCompositeComponentTypes
@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/GetComponentTypeResult.java