Rewrite this to use the "equals pattern" in e.g. [RegionAndName](https://github.com/jclouds/jclouds/blob/master/apis/ec2/src/main/java/org/jclouds/ec2/compute/domain/RegionAndName.java#L49)