Managing client resources from Java API

Hi everyone! I need to delete and create resources under a certain client in Keycloak and I need doing it using the Java API. I tried to consult the Javadocs but I can’t figure out how to retrieve the resource server containing the resources I want to manage. Is it possible? Thanks in advance