public AlterConfigsOptions validateOnly(boolean validateOnly) {
        this.validateOnly = validateOnly;
        return this;
    }
Set to true if the request should be validated without altering the configs.
clients/src/main/java/org/apache/kafka/clients/admin/AlterConfigsOptions.java