类 FileWithUri.Builder
java.lang.Object
io.github.a2ap.core.model.FileWithUri.Builder
- 封闭类:
- FileWithUri
Builder class for FileWithUri.
-
方法概要
修饰符和类型方法说明build()Builds a new FileWithUri instance.Sets the MIME type.Sets the file name.Sets the URI.
-
方法详细资料
-
name
Sets the file name.- 参数:
name- the file name- 返回:
- this builder for chaining
-
mimeType
Sets the MIME type.- 参数:
mimeType- the MIME type- 返回:
- this builder for chaining
-
uri
Sets the URI.- 参数:
uri- the URI- 返回:
- this builder for chaining
-
build
Builds a new FileWithUri instance.- 返回:
- the built instance
-