public ComponentRequest withPropertyGroups(java.util.Map<String, ComponentPropertyGroupRequest> propertyGroups) {
        setPropertyGroups(propertyGroups);
        return this;
    }
<p>
The property groups.
</p>

@param propertyGroups
       The property groups.
@return 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/ComponentRequest.java