VideoScaleArgs

data class VideoScaleArgs(val height: Output<String>? = null, val mode: Output<Either<String, VideoScaleMode>>? = null, val width: Output<String>? = null) : ConvertibleToJava<VideoScaleArgs>

The video scaling information.

Constructors

Link copied to clipboard
constructor(height: Output<String>? = null, mode: Output<Either<String, VideoScaleMode>>? = null, width: Output<String>? = null)

Properties

Link copied to clipboard
val height: Output<String>? = null

The desired output video height.

Link copied to clipboard
val mode: Output<Either<String, VideoScaleMode>>? = null

Describes the video scaling mode to be applied. Default mode is 'Pad'. If the mode is 'Pad' or 'Stretch' then both width and height must be specified. Else if the mode is 'PreserveAspectRatio' then only one of width or height need be provided.

Link copied to clipboard
val width: Output<String>? = null

The desired output video width.

Functions

Link copied to clipboard
open override fun toJava(): VideoScaleArgs