public ComponentPropertyGroupResponse withGroupType(GroupType groupType) {
        this.groupType = groupType.toString();
        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