Annotation Interface Required


@Retention(RUNTIME) @Target({RECORD_COMPONENT,FIELD}) public @interface Required
Marks a configuration value as required even when the target type is nullable.

Missing primitive record components already fail. Use this annotation for object, wrapper, or nested record components that must be present.