Annotation Interface AiProvider.NestedConfig
- Enclosing class:
AiProvider
Marks nested properties which types should be introspected too.
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionClass
<?> Model class that is having methodbuilder()
(or custom alternative that needs to be configured withbuilderMethod()
) for accessing introspected builder. -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionCustom name for builder method on model class.Class
<?> Parent AiProvider codegen interface which can be used for further nesting and customizing.
-
Element Details
-
value
Class<?> valueModel class that is having methodbuilder()
(or custom alternative that needs to be configured withbuilderMethod()
) for accessing introspected builder.- Returns:
- model class
-
parent
Class<?> parentParent AiProvider codegen interface which can be used for further nesting and customizing.- Returns:
- parent interface
- Default:
java.lang.Void.class
-
builderMethod
String builderMethodCustom name for builder method on model class.- Returns:
- builder method name,
builder
is default.
- Default:
"builder"
-