public UpdateSecurityGroupRuleDescriptionsIngressRequest withIpPermissions(java.util.Collection<IpPermission> ipPermissions) {
        setIpPermissions(ipPermissions);
        return this;
    }
<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.
@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/UpdateSecurityGroupRuleDescriptionsIngressRequest.java