Annotation Interface AiProvider.NestedConfig

Enclosing class:
AiProvider

@Target(METHOD) public static @interface AiProvider.NestedConfig
Marks nested properties which types should be introspected too.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Model class that is having method builder() (or custom alternative that needs to be configured with builderMethod() ) for accessing introspected builder.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Custom name for builder method on model class.
    Parent AiProvider codegen interface which can be used for further nesting and customizing.
  • Element Details

    • value

      Class<?> value
      Model class that is having method builder() (or custom alternative that needs to be configured with builderMethod() ) for accessing introspected builder.
      Returns:
      model class
    • parent

      Class<?> parent
      Parent AiProvider codegen interface which can be used for further nesting and customizing.
      Returns:
      parent interface
      Default:
      java.lang.Void.class
    • builderMethod

      String builderMethod
      Custom name for builder method on model class.
      Returns:
      builder method name, builder is default.
      Default:
      "builder"