public static class Annotation.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
Annotation.Builder |
board(QaBoardProperty board)
内联画板标注的详细属性,仅当 `type=QaBoard` 时生效,包含画板类型、状态、渲染代码等可视化相关信息
示例值:
|
Annotation |
build() |
Annotation.Builder |
image(QaImageProperty image)
内联图片标注的详细属性,仅当 `type=QaImage` 时生效,包含图片元数据、访问链接等信息
示例值:
|
Annotation.Builder |
key(String key)
标注的唯一标识键,用于在同一上下文内区分不同标注,支持自定义业务标识
示例值:product_spec_img_001
|
Annotation.Builder |
ref(QaRefProperty ref)
引用链接标注的详细属性,仅当 `type=QaRef` 时生效,支持企业内部知识和外部网络资源两种引用类型
示例值:
|
Annotation.Builder |
type(AnnotationAnnotationTypeEnum type)
标注类型,用于指定当前标注的具体形态。
|
Annotation.Builder |
type(Integer type)
标注类型,用于指定当前标注的具体形态。
|
public Annotation.Builder type(Integer type)
示例值:
type - public Annotation.Builder type(AnnotationAnnotationTypeEnum type)
示例值:
type - AnnotationAnnotationTypeEnumpublic Annotation.Builder key(String key)
示例值:product_spec_img_001
key - public Annotation.Builder image(QaImageProperty image)
示例值:
image - public Annotation.Builder ref(QaRefProperty ref)
示例值:
ref - public Annotation.Builder board(QaBoardProperty board)
示例值:
board - public Annotation build()
Copyright © 2026. All rights reserved.