How to set duration by provider

Is there a way to set the appointment duration by provider?