PDFEngines.convert() transforms PDF files into the requested PDF/A format and/or PDF/UA (accessibility).
PdfFormat for the desired PDF/A variant (e.g. PdfFormat.A_1a, PdfFormat.A_2b, PdfFormat.A_3b). See Reference — types for the full PdfFormat enum.