The state legislature has established financial criteria for determining when a person qualifies for a court-appointed attorney in criminal cases. See Iowa Code section 815.9. A judge determines whether a defendant qualifies for a court-appointed attorney based on the financial criteria and defendant’s financial resources.