Support for max_completion_tokens was introduced in ChatCompletionsOptions class (Azure SDK for Java - package com.azure.ai.openai.models) last year.
Reference - Azure/azure-sdk-for-java#43037
The maxTokens value is now deprecated in favor of max_completion_tokens, and is not compatible with o1 series models.
Reference - https://learn.microsoft.com/en-us/java/api/com.azure.ai.openai.models.chatcompletionsoptions?view=azure-java-preview#com-azure-ai-openai-models-chatcompletionsoptions-setmaxtokens(java-lang-integer)