PresetThumbnailsArgs

data class PresetThumbnailsArgs(val aspectRatio: Output<String>? = null, val format: Output<String>? = null, val interval: Output<String>? = null, val maxHeight: Output<String>? = null, val maxWidth: Output<String>? = null, val paddingPolicy: Output<String>? = null, val resolution: Output<String>? = null, val sizingPolicy: Output<String>? = null) : ConvertibleToJava<PresetThumbnailsArgs>

Constructors

Link copied to clipboard
constructor(aspectRatio: Output<String>? = null, format: Output<String>? = null, interval: Output<String>? = null, maxHeight: Output<String>? = null, maxWidth: Output<String>? = null, paddingPolicy: Output<String>? = null, resolution: Output<String>? = null, sizingPolicy: Output<String>? = null)

Properties

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

The aspect ratio of thumbnails. The following values are valid: auto, 1:1, 4:3, 3:2, 16:9

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

The format of thumbnails, if any. Valid formats are jpg and png.

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

The approximate number of seconds between thumbnails. The value must be an integer. The actual interval can vary by several seconds from one thumbnail to the next.

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

The maximum height of thumbnails, in pixels. If you specify auto, Elastic Transcoder uses 1080 (Full HD) as the default value. If you specify a numeric value, enter an even integer between 32 and 3072, inclusive.

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

The maximum width of thumbnails, in pixels. If you specify auto, Elastic Transcoder uses 1920 (Full HD) as the default value. If you specify a numeric value, enter an even integer between 32 and 4096, inclusive.

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

When you set PaddingPolicy to Pad, Elastic Transcoder might add black bars to the top and bottom and/or left and right sides of thumbnails to make the total size of the thumbnails match the values that you specified for thumbnail MaxWidth and MaxHeight settings.

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

The width and height of thumbnail files in pixels, in the format WidthxHeight, where both values are even integers. The values cannot exceed the width and height that you specified in the Video:Resolution object. (To better control resolution and aspect ratio of thumbnails, we recommend that you use the thumbnail values max_width, max_height, sizing_policy, and padding_policy instead of resolution and aspect_ratio. The two groups of settings are mutually exclusive. Do not use them together)

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

A value that controls scaling of thumbnails. Valid values are: Fit, Fill, Stretch, Keep, ShrinkToFit, and ShrinkToFill.

Functions

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