Class PresetThumbnailsArgs.Builder

  • Enclosing class:
    PresetThumbnailsArgs

    public static final class PresetThumbnailsArgs.Builder
    extends java.lang.Object
    • Method Detail

      • aspectRatio

        public PresetThumbnailsArgs.Builder aspectRatio​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> aspectRatio)
        Parameters:
        aspectRatio - The aspect ratio of thumbnails. The following values are valid: auto, 1:1, 4:3, 3:2, 16:9
        Returns:
        builder
      • aspectRatio

        public PresetThumbnailsArgs.Builder aspectRatio​(java.lang.String aspectRatio)
        Parameters:
        aspectRatio - The aspect ratio of thumbnails. The following values are valid: auto, 1:1, 4:3, 3:2, 16:9
        Returns:
        builder
      • format

        public PresetThumbnailsArgs.Builder format​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> format)
        Parameters:
        format - The format of thumbnails, if any. Valid formats are jpg and png.
        Returns:
        builder
      • format

        public PresetThumbnailsArgs.Builder format​(java.lang.String format)
        Parameters:
        format - The format of thumbnails, if any. Valid formats are jpg and png.
        Returns:
        builder
      • interval

        public PresetThumbnailsArgs.Builder interval​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> interval)
        Parameters:
        interval - 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.
        Returns:
        builder
      • interval

        public PresetThumbnailsArgs.Builder interval​(java.lang.String interval)
        Parameters:
        interval - 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.
        Returns:
        builder
      • maxHeight

        public PresetThumbnailsArgs.Builder maxHeight​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> maxHeight)
        Parameters:
        maxHeight - 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.
        Returns:
        builder
      • maxHeight

        public PresetThumbnailsArgs.Builder maxHeight​(java.lang.String maxHeight)
        Parameters:
        maxHeight - 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.
        Returns:
        builder
      • maxWidth

        public PresetThumbnailsArgs.Builder maxWidth​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> maxWidth)
        Parameters:
        maxWidth - 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.
        Returns:
        builder
      • maxWidth

        public PresetThumbnailsArgs.Builder maxWidth​(java.lang.String maxWidth)
        Parameters:
        maxWidth - 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.
        Returns:
        builder
      • paddingPolicy

        public PresetThumbnailsArgs.Builder paddingPolicy​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> paddingPolicy)
        Parameters:
        paddingPolicy - 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.
        Returns:
        builder
      • paddingPolicy

        public PresetThumbnailsArgs.Builder paddingPolicy​(java.lang.String paddingPolicy)
        Parameters:
        paddingPolicy - 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.
        Returns:
        builder
      • resolution

        public PresetThumbnailsArgs.Builder resolution​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> resolution)
        Parameters:
        resolution - 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 `maxWidth`, `maxHeight`, `sizingPolicy`, and `paddingPolicy` instead of `resolution` and `aspectRatio`. The two groups of settings are mutually exclusive. Do not use them together)
        Returns:
        builder
      • resolution

        public PresetThumbnailsArgs.Builder resolution​(java.lang.String resolution)
        Parameters:
        resolution - 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 `maxWidth`, `maxHeight`, `sizingPolicy`, and `paddingPolicy` instead of `resolution` and `aspectRatio`. The two groups of settings are mutually exclusive. Do not use them together)
        Returns:
        builder
      • sizingPolicy

        public PresetThumbnailsArgs.Builder sizingPolicy​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> sizingPolicy)
        Parameters:
        sizingPolicy - A value that controls scaling of thumbnails. Valid values are: `Fit`, `Fill`, `Stretch`, `Keep`, `ShrinkToFit`, and `ShrinkToFill`.
        Returns:
        builder
      • sizingPolicy

        public PresetThumbnailsArgs.Builder sizingPolicy​(java.lang.String sizingPolicy)
        Parameters:
        sizingPolicy - A value that controls scaling of thumbnails. Valid values are: `Fit`, `Fill`, `Stretch`, `Keep`, `ShrinkToFit`, and `ShrinkToFill`.
        Returns:
        builder