public RevokeSecurityGroupIngressRequest withIpPermissions(java.util.Collection<IpPermission> ipPermissions) {
        setIpPermissions(ipPermissions);
        return this;
    }
<p>
The sets of IP permissions. You can't specify a source security group and a CIDR IP address range in the same set
of permissions.
</p>

@param ipPermissions
       The sets of IP permissions. You can't specify a source security group and a CIDR IP address range in the
       same set of permissions.
@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/RevokeSecurityGroupIngressRequest.java