Class PresetThumbnailsArgs


  • public final class PresetThumbnailsArgs
    extends com.pulumi.resources.ResourceArgs
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  PresetThumbnailsArgs.Builder  
      • Nested classes/interfaces inherited from class com.pulumi.resources.InputArgs

        com.pulumi.resources.InputArgs.InputArgsInternal
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> aspectRatio()  
      static PresetThumbnailsArgs.Builder builder()  
      static PresetThumbnailsArgs.Builder builder​(PresetThumbnailsArgs defaults)  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> format()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> interval()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> maxHeight()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> maxWidth()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> paddingPolicy()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> resolution()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> sizingPolicy()  
      • Methods inherited from class com.pulumi.resources.ResourceArgs

        validateMember
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • aspectRatio

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> aspectRatio()
        Returns:
        The aspect ratio of thumbnails. The following values are valid: auto, 1:1, 4:3, 3:2, 16:9
      • format

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> format()
        Returns:
        The format of thumbnails, if any. Valid formats are jpg and png.
      • interval

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> interval()
        Returns:
        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.
      • maxHeight

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> maxHeight()
        Returns:
        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.
      • maxWidth

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> maxWidth()
        Returns:
        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.
      • paddingPolicy

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> paddingPolicy()
        Returns:
        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.
      • resolution

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> resolution()
        Returns:
        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)
      • sizingPolicy

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> sizingPolicy()
        Returns:
        A value that controls scaling of thumbnails. Valid values are: `Fit`, `Fill`, `Stretch`, `Keep`, `ShrinkToFit`, and `ShrinkToFill`.