public SecurityGroup apply(org.jclouds.ec2.domain.SecurityGroup group) {
SecurityGroupBuilder builder = new SecurityGroupBuilder();
Location location = findLocationWithId(group.getRegion());
builder.location(location);
builder.id(group.getRegion() + "/" + idOrName(group));
builder.providerId(group.getId());
builder.name(group.getName());
builder.ipPermissions(group);
builder.ownerId(group.getOwnerId());
return builder.build();