类 FileWithUri.Builder

java.lang.Object
io.github.a2ap.core.model.FileWithUri.Builder
封闭类:
FileWithUri

public static class FileWithUri.Builder extends Object
Builder class for FileWithUri.
  • 方法详细资料

    • name

      public FileWithUri.Builder name(String name)
      Sets the file name.
      参数:
      name - the file name
      返回:
      this builder for chaining
    • mimeType

      public FileWithUri.Builder mimeType(String mimeType)
      Sets the MIME type.
      参数:
      mimeType - the MIME type
      返回:
      this builder for chaining
    • uri

      public FileWithUri.Builder uri(String uri)
      Sets the URI.
      参数:
      uri - the URI
      返回:
      this builder for chaining
    • build

      public FileWithUri build()
      Builds a new FileWithUri instance.
      返回:
      the built instance