类 FilePart.Builder
java.lang.Object
io.github.a2ap.core.model.FilePart.Builder
- 封闭类:
- FilePart
Builder class for FilePart
-
方法概要
修饰符和类型方法说明build()Builds a new FilePart instancefile(FileContent file) Sets the file contentSets the metadata
-
方法详细资料
-
file
Sets the file content- 参数:
file- The file content- 返回:
- This builder for chaining
-
metadata
Sets the metadata- 参数:
metadata- The metadata- 返回:
- This builder for chaining
-
build
Builds a new FilePart instance- 返回:
- The built instance
-