Interface Video.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Video.Builder,Video>, SdkBuilder<Video.Builder,Video>, SdkPojo
Enclosing class:
Video

public static interface Video.Builder extends SdkPojo, CopyableBuilder<Video.Builder,Video>
  • Method Details

    • width

      Video.Builder width(Integer width)

      Video-resolution width. Note that the maximum value is determined by width times height, such that the maximum total pixels is 2073600 (1920x1080 or 1080x1920). Default: 1280.

      Parameters:
      width - Video-resolution width. Note that the maximum value is determined by width times height, such that the maximum total pixels is 2073600 (1920x1080 or 1080x1920). Default: 1280.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • height

      Video.Builder height(Integer height)

      Video-resolution height. Note that the maximum value is determined by width times height, such that the maximum total pixels is 2073600 (1920x1080 or 1080x1920). Default: 720.

      Parameters:
      height - Video-resolution height. Note that the maximum value is determined by width times height, such that the maximum total pixels is 2073600 (1920x1080 or 1080x1920). Default: 720.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • framerate

      Video.Builder framerate(Float framerate)

      Video frame rate, in fps. Default: 30.

      Parameters:
      framerate - Video frame rate, in fps. Default: 30.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • bitrate

      Video.Builder bitrate(Integer bitrate)

      Bitrate for generated output, in bps. Default: 2500000.

      Parameters:
      bitrate - Bitrate for generated output, in bps. Default: 2500000.
      Returns:
      Returns a reference to this object so that method calls can be chained together.