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 IP permissions for the security group rule. You must specify either IP permissions or a description.
</p>

@param ipPermissions
       The IP permissions for the security group rule. You must specify either IP permissions or a description.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/UpdateSecurityGroupRuleDescriptionsIngressRequest.java