public ComponentPropertyGroupResponse withGroupType(String groupType) {
        setGroupType(groupType);
        return this;
    }
<p>
The group type.
</p>

@param groupType
       The group type.
@return Returns a reference to this object so that method calls can be chained together.
@see GroupType
aws-java-sdk-iottwinmaker/src/main/java/com/amazonaws/services/iottwinmaker/model/ComponentPropertyGroupResponse.java