Class Video.Builder

java.lang.Object
dev.langchain4j.data.video.Video.Builder
Enclosing class:
Video

public static class Video.Builder extends Object
Builder for Video.
  • Constructor Details

  • Method Details

    • url

      public Video.Builder url(URI url)
      Set the url of the video.
      Parameters:
      url - the url of the video.
      Returns:
      this
    • url

      public Video.Builder url(String url)
      Set the url of the video.
      Parameters:
      url - the url of the video.
      Returns:
      this
    • base64Data

      public Video.Builder base64Data(String base64Data)
      Set the base64 data of the video.
      Parameters:
      base64Data - the base64 data of the video.
      Returns:
      this
    • mimeType

      public Video.Builder mimeType(String mimeType)
      Set the mime type of the video.
      Parameters:
      mimeType - the mime type of the video.
      Returns:
      this
    • build

      public Video build()
      Build the Video.
      Returns:
      the Video.