public NetworkAclEntry withPortRange(PortRange portRange) {
        setPortRange(portRange);
        return this;
    }
<p>
TCP or UDP protocols: The range of ports the rule applies to.
</p>

@param portRange
       TCP or UDP protocols: The range of ports the rule applies to.
@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/NetworkAclEntry.java