Nottinghamshire were crowned Yorkshire Bank 40 champions after beating Glamorgan by 87 runs in the Lord's final on Saturday.