public SecurityGroupRule withCidrIpv4(String cidrIpv4) {
        setCidrIpv4(cidrIpv4);
        return this;
    }
<p>
The IPv4 CIDR range.
</p>

@param cidrIpv4
       The IPv4 CIDR range.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/SecurityGroupRule.java