public void setIpPermissions(java.util.Collection<IpPermission> ipPermissions) {
        if (ipPermissions == null) {
            this.ipPermissions = null;
            return;
        }

        this.ipPermissions = new com.amazonaws.internal.SdkInternalList<IpPermission>(ipPermissions);
    }
<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.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/RevokeSecurityGroupIngressRequest.java