public AwsEc2SecurityGroupUserIdGroupPair withGroupId(String groupId) {
        setGroupId(groupId);
        return this;
    }
<p>
The ID of the security group.
</p>

@param groupId
       The ID of the security group.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsEc2SecurityGroupUserIdGroupPair.java