diff --git a/apis/openstack-nova/src/main/java/org/jclouds/openstack/nova/v2_0/domain/SecurityGroupRule.java b/apis/openstack-nova/src/main/java/org/jclouds/openstack/nova/v2_0/domain/SecurityGroupRule.java index b90ecc8ecd..60475427ec 100644 --- a/apis/openstack-nova/src/main/java/org/jclouds/openstack/nova/v2_0/domain/SecurityGroupRule.java +++ b/apis/openstack-nova/src/main/java/org/jclouds/openstack/nova/v2_0/domain/SecurityGroupRule.java @@ -38,8 +38,9 @@ public class SecurityGroupRule extends Ingress { public static class Cidr extends ForwardingObject { private String cidr; - private Cidr(String cidr) { - this.cidr = cidr; + @ConstructorProperties("cidr") + protected Cidr(String cidr) { + this.cidr = checkNotNull(cidr); } @Override