com.amazonaws.services.elastictranscoder.model

## クラス Thumbnails

- java.lang.Object
- - com.amazonaws.services.elastictranscoder.model.Thumbnails

- すべての実装されたインタフェース:
    java.io.Serializable

      public class Thumbnails
      extends java.lang.Object
      implements java.io.Serializable

  Thumbnails for videos.

  関連項目:
    直列化された形式

- - ### コンストラクタの概要

    コンストラクタ
    コンストラクタと説明
    `Thumbnails()`

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getAspectRatio()` To better control resolution and aspect ratio of thumbnails, we recommend that you use the values `MaxWidth`, `MaxHeight`, `SizingPolicy`, and `PaddingPolicy` instead of `Resolution` and `AspectRatio`.
    `java.lang.String` | `getFormat()` The format of thumbnails, if any.
    `java.lang.String` | `getInterval()` The number of seconds between thumbnails.
    `java.lang.String` | `getMaxHeight()` The maximum height of thumbnails in pixels.
    `java.lang.String` | `getMaxWidth()` The maximum width of thumbnails in pixels.
    `java.lang.String` | `getPaddingPolicy()` When you set `PaddingPolicy` to `Pad`, Elastic Transcoder may 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.
    `java.lang.String` | `getResolution()` To better control resolution and aspect ratio of thumbnails, we recommend that you use the values `MaxWidth`, `MaxHeight`, `SizingPolicy`, and `PaddingPolicy` instead of `Resolution` and `AspectRatio`.
    `java.lang.String` | `getSizingPolicy()` Specify one of the following values to control scaling of thumbnails: `Fit`: Elastic Transcoder scales thumbnails so they match the value that you specified in thumbnail MaxWidth or MaxHeight settings without exceeding the other value.
    `int` | `hashCode()`
    `void` | `setAspectRatio(java.lang.String aspectRatio)` To better control resolution and aspect ratio of thumbnails, we recommend that you use the values `MaxWidth`, `MaxHeight`, `SizingPolicy`, and `PaddingPolicy` instead of `Resolution` and `AspectRatio`.
    `void` | `setFormat(java.lang.String format)` The format of thumbnails, if any.
    `void` | `setInterval(java.lang.String interval)` The number of seconds between thumbnails.
    `void` | `setMaxHeight(java.lang.String maxHeight)` The maximum height of thumbnails in pixels.
    `void` | `setMaxWidth(java.lang.String maxWidth)` The maximum width of thumbnails in pixels.
    `void` | `setPaddingPolicy(java.lang.String paddingPolicy)` When you set `PaddingPolicy` to `Pad`, Elastic Transcoder may 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.
    `void` | `setResolution(java.lang.String resolution)` To better control resolution and aspect ratio of thumbnails, we recommend that you use the values `MaxWidth`, `MaxHeight`, `SizingPolicy`, and `PaddingPolicy` instead of `Resolution` and `AspectRatio`.
    `void` | `setSizingPolicy(java.lang.String sizingPolicy)` Specify one of the following values to control scaling of thumbnails: `Fit`: Elastic Transcoder scales thumbnails so they match the value that you specified in thumbnail MaxWidth or MaxHeight settings without exceeding the other value.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `Thumbnails` | `withAspectRatio(java.lang.String aspectRatio)` To better control resolution and aspect ratio of thumbnails, we recommend that you use the values `MaxWidth`, `MaxHeight`, `SizingPolicy`, and `PaddingPolicy` instead of `Resolution` and `AspectRatio`.
    `Thumbnails` | `withFormat(java.lang.String format)` The format of thumbnails, if any.
    `Thumbnails` | `withInterval(java.lang.String interval)` The number of seconds between thumbnails.
    `Thumbnails` | `withMaxHeight(java.lang.String maxHeight)` The maximum height of thumbnails in pixels.
    `Thumbnails` | `withMaxWidth(java.lang.String maxWidth)` The maximum width of thumbnails in pixels.
    `Thumbnails` | `withPaddingPolicy(java.lang.String paddingPolicy)` When you set `PaddingPolicy` to `Pad`, Elastic Transcoder may 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.
    `Thumbnails` | `withResolution(java.lang.String resolution)` To better control resolution and aspect ratio of thumbnails, we recommend that you use the values `MaxWidth`, `MaxHeight`, `SizingPolicy`, and `PaddingPolicy` instead of `Resolution` and `AspectRatio`.
    `Thumbnails` | `withSizingPolicy(java.lang.String sizingPolicy)` Specify one of the following values to control scaling of thumbnails: `Fit`: Elastic Transcoder scales thumbnails so they match the value that you specified in thumbnail MaxWidth or MaxHeight settings without exceeding the other value.

    - ### クラスから継承されたメソッド java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### コンストラクタの詳細

    - #### Thumbnails

          public Thumbnails()

  - ### メソッドの詳細

    - #### getFormat

          public java.lang.String getFormat()

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

      You specify whether you want Elastic Transcoder to create thumbnails when you create a job.

      Constraints:
      Pattern: (^jpg$)|(^png$)

      戻り値:
        The format of thumbnails, if any. Valid values are `jpg` and `png`.

        You specify whether you want Elastic Transcoder to create thumbnails when you create a job.

    - #### setFormat

          public void setFormat(java.lang.String format)

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

      You specify whether you want Elastic Transcoder to create thumbnails when you create a job.

      Constraints:
      Pattern: (^jpg$)|(^png$)

      パラメータ:
        `format` - The format of thumbnails, if any. Valid values are `jpg` and `png`.

        You specify whether you want Elastic Transcoder to create thumbnails when you create a job.

    - #### withFormat

          public Thumbnails withFormat(java.lang.String format)

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

      You specify whether you want Elastic Transcoder to create thumbnails when you create a job.

      Returns a reference to this object so that method calls can be chained together.

      Constraints:
      Pattern: (^jpg$)|(^png$)

      パラメータ:
        `format` - The format of thumbnails, if any. Valid values are `jpg` and `png`.

        You specify whether you want Elastic Transcoder to create thumbnails when you create a job.

    - #### getInterval

          public java.lang.String getInterval()

      The number of seconds between thumbnails. Specify an integer value.

      Constraints:
      Pattern: ^\d{1,5}$

      戻り値:
        The number of seconds between thumbnails. Specify an integer value.

    - #### setInterval

          public void setInterval(java.lang.String interval)

      The number of seconds between thumbnails. Specify an integer value.

      Constraints:
      Pattern: ^\d{1,5}$

      パラメータ:
        `interval` - The number of seconds between thumbnails. Specify an integer value.

    - #### withInterval

          public Thumbnails withInterval(java.lang.String interval)

      The number of seconds between thumbnails. Specify an integer value.

      Returns a reference to this object so that method calls can be chained together.

      Constraints:
      Pattern: ^\d{1,5}$

      パラメータ:
        `interval` - The number of seconds between thumbnails. Specify an integer value.

    - #### getResolution

          public java.lang.String getResolution()

      To better control resolution and aspect ratio of thumbnails, we recommend that you use the values `MaxWidth`, `MaxHeight`, `SizingPolicy`, and `PaddingPolicy` instead of `Resolution` and `AspectRatio`. The two groups of settings are mutually exclusive. Do not use them together.

      The width and height of thumbnail files in pixels. Specify a value in the format `width` x `height` where both values are even integers. The values cannot exceed the width and height that you specified in the `Video:Resolution` object.

      Constraints:
      Pattern: ^\d{1,5}x\d{1,5}$

      戻り値:

        To better control resolution and aspect ratio of thumbnails, we recommend that you use the values `MaxWidth`, `MaxHeight`, `SizingPolicy`, and `PaddingPolicy` instead of `Resolution` and `AspectRatio`. The two groups of settings are mutually exclusive. Do not use them together.

        The width and height of thumbnail files in pixels. Specify a value in the format `width` x `height` where both values are even integers. The values cannot exceed the width and height that you specified in the `Video:Resolution` object.

    - #### setResolution

          public void setResolution(java.lang.String resolution)

      To better control resolution and aspect ratio of thumbnails, we recommend that you use the values `MaxWidth`, `MaxHeight`, `SizingPolicy`, and `PaddingPolicy` instead of `Resolution` and `AspectRatio`. The two groups of settings are mutually exclusive. Do not use them together.

      The width and height of thumbnail files in pixels. Specify a value in the format `width` x `height` where both values are even integers. The values cannot exceed the width and height that you specified in the `Video:Resolution` object.

      Constraints:
      Pattern: ^\d{1,5}x\d{1,5}$

      パラメータ:
        `resolution` -

        To better control resolution and aspect ratio of thumbnails, we recommend that you use the values `MaxWidth`, `MaxHeight`, `SizingPolicy`, and `PaddingPolicy` instead of `Resolution` and `AspectRatio`. The two groups of settings are mutually exclusive. Do not use them together.

        The width and height of thumbnail files in pixels. Specify a value in the format `width` x `height` where both values are even integers. The values cannot exceed the width and height that you specified in the `Video:Resolution` object.

    - #### withResolution

          public Thumbnails withResolution(java.lang.String resolution)

      To better control resolution and aspect ratio of thumbnails, we recommend that you use the values `MaxWidth`, `MaxHeight`, `SizingPolicy`, and `PaddingPolicy` instead of `Resolution` and `AspectRatio`. The two groups of settings are mutually exclusive. Do not use them together.

      The width and height of thumbnail files in pixels. Specify a value in the format `width` x `height` where both values are even integers. The values cannot exceed the width and height that you specified in the `Video:Resolution` object.

      Returns a reference to this object so that method calls can be chained together.

      Constraints:
      Pattern: ^\d{1,5}x\d{1,5}$

      パラメータ:
        `resolution` -

        To better control resolution and aspect ratio of thumbnails, we recommend that you use the values `MaxWidth`, `MaxHeight`, `SizingPolicy`, and `PaddingPolicy` instead of `Resolution` and `AspectRatio`. The two groups of settings are mutually exclusive. Do not use them together.

        The width and height of thumbnail files in pixels. Specify a value in the format `width` x `height` where both values are even integers. The values cannot exceed the width and height that you specified in the `Video:Resolution` object.

    - #### getAspectRatio

          public java.lang.String getAspectRatio()

      To better control resolution and aspect ratio of thumbnails, we recommend that you use the values `MaxWidth`, `MaxHeight`, `SizingPolicy`, and `PaddingPolicy` instead of `Resolution` and `AspectRatio`. The two groups of settings are mutually exclusive. Do not use them together.

      The aspect ratio of thumbnails. Valid values include:

      `auto`, `1:1`, `4:3`, `3:2`, `16:9`

      If you specify `auto`, Elastic Transcoder tries to preserve the aspect ratio of the video in the output file.

      Constraints:
      Pattern: (^auto$)|(^1:1$)|(^4:3$)|(^3:2$)|(^16:9$)

      戻り値:

        To better control resolution and aspect ratio of thumbnails, we recommend that you use the values `MaxWidth`, `MaxHeight`, `SizingPolicy`, and `PaddingPolicy` instead of `Resolution` and `AspectRatio`. The two groups of settings are mutually exclusive. Do not use them together.

        The aspect ratio of thumbnails. Valid values include:

        `auto`, `1:1`, `4:3`, `3:2`, `16:9`

        If you specify `auto`, Elastic Transcoder tries to preserve the aspect ratio of the video in the output file.

    - #### setAspectRatio

          public void setAspectRatio(java.lang.String aspectRatio)

      To better control resolution and aspect ratio of thumbnails, we recommend that you use the values `MaxWidth`, `MaxHeight`, `SizingPolicy`, and `PaddingPolicy` instead of `Resolution` and `AspectRatio`. The two groups of settings are mutually exclusive. Do not use them together.

      The aspect ratio of thumbnails. Valid values include:

      `auto`, `1:1`, `4:3`, `3:2`, `16:9`

      If you specify `auto`, Elastic Transcoder tries to preserve the aspect ratio of the video in the output file.

      Constraints:
      Pattern: (^auto$)|(^1:1$)|(^4:3$)|(^3:2$)|(^16:9$)

      パラメータ:
        `aspectRatio` -

        To better control resolution and aspect ratio of thumbnails, we recommend that you use the values `MaxWidth`, `MaxHeight`, `SizingPolicy`, and `PaddingPolicy` instead of `Resolution` and `AspectRatio`. The two groups of settings are mutually exclusive. Do not use them together.

        The aspect ratio of thumbnails. Valid values include:

        `auto`, `1:1`, `4:3`, `3:2`, `16:9`

        If you specify `auto`, Elastic Transcoder tries to preserve the aspect ratio of the video in the output file.

    - #### withAspectRatio

          public Thumbnails withAspectRatio(java.lang.String aspectRatio)

      To better control resolution and aspect ratio of thumbnails, we recommend that you use the values `MaxWidth`, `MaxHeight`, `SizingPolicy`, and `PaddingPolicy` instead of `Resolution` and `AspectRatio`. The two groups of settings are mutually exclusive. Do not use them together.

      The aspect ratio of thumbnails. Valid values include:

      `auto`, `1:1`, `4:3`, `3:2`, `16:9`

      If you specify `auto`, Elastic Transcoder tries to preserve the aspect ratio of the video in the output file.

      Returns a reference to this object so that method calls can be chained together.

      Constraints:
      Pattern: (^auto$)|(^1:1$)|(^4:3$)|(^3:2$)|(^16:9$)

      パラメータ:
        `aspectRatio` -

        To better control resolution and aspect ratio of thumbnails, we recommend that you use the values `MaxWidth`, `MaxHeight`, `SizingPolicy`, and `PaddingPolicy` instead of `Resolution` and `AspectRatio`. The two groups of settings are mutually exclusive. Do not use them together.

        The aspect ratio of thumbnails. Valid values include:

        `auto`, `1:1`, `4:3`, `3:2`, `16:9`

        If you specify `auto`, Elastic Transcoder tries to preserve the aspect ratio of the video in the output file.

    - #### getMaxWidth

          public java.lang.String getMaxWidth()

      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.

      Constraints:
      Pattern: (^auto$)|(^\d{2,4}$)

      戻り値:
        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.

    - #### setMaxWidth

          public void setMaxWidth(java.lang.String 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.

      Constraints:
      Pattern: (^auto$)|(^\d{2,4}$)

      パラメータ:
        `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.

    - #### withMaxWidth

          public Thumbnails withMaxWidth(java.lang.String 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.

      Returns a reference to this object so that method calls can be chained together.

      Constraints:
      Pattern: (^auto$)|(^\d{2,4}$)

      パラメータ:
        `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.

    - #### getMaxHeight

          public java.lang.String getMaxHeight()

      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.

      Constraints:
      Pattern: (^auto$)|(^\d{2,4}$)

      戻り値:
        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.

    - #### setMaxHeight

          public void setMaxHeight(java.lang.String 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.

      Constraints:
      Pattern: (^auto$)|(^\d{2,4}$)

      パラメータ:
        `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.

    - #### withMaxHeight

          public Thumbnails withMaxHeight(java.lang.String 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.

      Returns a reference to this object so that method calls can be chained together.

      Constraints:
      Pattern: (^auto$)|(^\d{2,4}$)

      パラメータ:
        `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.

    - #### getSizingPolicy

          public java.lang.String getSizingPolicy()

      Specify one of the following values to control scaling of thumbnails:

      - `Fit`: Elastic Transcoder scales thumbnails so they match the value that you specified in thumbnail MaxWidth or MaxHeight settings without exceeding the other value.
      - `Fill`: Elastic Transcoder scales thumbnails so they match the value that you specified in thumbnail `MaxWidth` or `MaxHeight` settings and matches or exceeds the other value. Elastic Transcoder centers the image in thumbnails and then crops in the dimension (if any) that exceeds the maximum value.
      - `Stretch`: Elastic Transcoder stretches thumbnails to match the values that you specified for thumbnail `MaxWidth` and `MaxHeight` settings. If the relative proportions of the input video and thumbnails are different, the thumbnails will be distorted.
      - `Keep`: Elastic Transcoder does not scale thumbnails. If either dimension of the input video exceeds the values that you specified for thumbnail `MaxWidth` and `MaxHeight` settings, Elastic Transcoder crops the thumbnails.
      - `ShrinkToFit`: Elastic Transcoder scales thumbnails down so that their dimensions match the values that you specified for at least one of thumbnail `MaxWidth` and `MaxHeight` without exceeding either value. If you specify this option, Elastic Transcoder does not scale thumbnails up.
      - `ShrinkToFill`: Elastic Transcoder scales thumbnails down so that their dimensions match the values that you specified for at least one of `MaxWidth` and `MaxHeight` without dropping below either value. If you specify this option, Elastic Transcoder does not scale thumbnails up.

      Constraints:
      Pattern: (^Fit$)|(^Fill$)|(^Stretch$)|(^Keep$)|(^ShrinkToFit$)|(^ShrinkToFill$)

      戻り値:
        Specify one of the following values to control scaling of thumbnails:

        - `Fit`: Elastic Transcoder scales thumbnails so they match the value that you specified in thumbnail MaxWidth or MaxHeight settings without exceeding the other value.
        - `Fill`: Elastic Transcoder scales thumbnails so they match the value that you specified in thumbnail `MaxWidth` or `MaxHeight` settings and matches or exceeds the other value. Elastic Transcoder centers the image in thumbnails and then crops in the dimension (if any) that exceeds the maximum value.
        - `Stretch`: Elastic Transcoder stretches thumbnails to match the values that you specified for thumbnail `MaxWidth` and `MaxHeight` settings. If the relative proportions of the input video and thumbnails are different, the thumbnails will be distorted.
        - `Keep`: Elastic Transcoder does not scale thumbnails. If either dimension of the input video exceeds the values that you specified for thumbnail `MaxWidth` and `MaxHeight` settings, Elastic Transcoder crops the thumbnails.
        - `ShrinkToFit`: Elastic Transcoder scales thumbnails down so that their dimensions match the values that you specified for at least one of thumbnail `MaxWidth` and `MaxHeight` without exceeding either value. If you specify this option, Elastic Transcoder does not scale thumbnails up.
        - `ShrinkToFill`: Elastic Transcoder scales thumbnails down so that their dimensions match the values that you specified for at least one of `MaxWidth` and `MaxHeight` without dropping below either value. If you specify this option, Elastic Transcoder does not scale thumbnails up.

    - #### setSizingPolicy

          public void setSizingPolicy(java.lang.String sizingPolicy)

      Specify one of the following values to control scaling of thumbnails:

      - `Fit`: Elastic Transcoder scales thumbnails so they match the value that you specified in thumbnail MaxWidth or MaxHeight settings without exceeding the other value.
      - `Fill`: Elastic Transcoder scales thumbnails so they match the value that you specified in thumbnail `MaxWidth` or `MaxHeight` settings and matches or exceeds the other value. Elastic Transcoder centers the image in thumbnails and then crops in the dimension (if any) that exceeds the maximum value.
      - `Stretch`: Elastic Transcoder stretches thumbnails to match the values that you specified for thumbnail `MaxWidth` and `MaxHeight` settings. If the relative proportions of the input video and thumbnails are different, the thumbnails will be distorted.
      - `Keep`: Elastic Transcoder does not scale thumbnails. If either dimension of the input video exceeds the values that you specified for thumbnail `MaxWidth` and `MaxHeight` settings, Elastic Transcoder crops the thumbnails.
      - `ShrinkToFit`: Elastic Transcoder scales thumbnails down so that their dimensions match the values that you specified for at least one of thumbnail `MaxWidth` and `MaxHeight` without exceeding either value. If you specify this option, Elastic Transcoder does not scale thumbnails up.
      - `ShrinkToFill`: Elastic Transcoder scales thumbnails down so that their dimensions match the values that you specified for at least one of `MaxWidth` and `MaxHeight` without dropping below either value. If you specify this option, Elastic Transcoder does not scale thumbnails up.

      Constraints:
      Pattern: (^Fit$)|(^Fill$)|(^Stretch$)|(^Keep$)|(^ShrinkToFit$)|(^ShrinkToFill$)

      パラメータ:
        `sizingPolicy` - Specify one of the following values to control scaling of thumbnails:

        - `Fit`: Elastic Transcoder scales thumbnails so they match the value that you specified in thumbnail MaxWidth or MaxHeight settings without exceeding the other value.
        - `Fill`: Elastic Transcoder scales thumbnails so they match the value that you specified in thumbnail `MaxWidth` or `MaxHeight` settings and matches or exceeds the other value. Elastic Transcoder centers the image in thumbnails and then crops in the dimension (if any) that exceeds the maximum value.
        - `Stretch`: Elastic Transcoder stretches thumbnails to match the values that you specified for thumbnail `MaxWidth` and `MaxHeight` settings. If the relative proportions of the input video and thumbnails are different, the thumbnails will be distorted.
        - `Keep`: Elastic Transcoder does not scale thumbnails. If either dimension of the input video exceeds the values that you specified for thumbnail `MaxWidth` and `MaxHeight` settings, Elastic Transcoder crops the thumbnails.
        - `ShrinkToFit`: Elastic Transcoder scales thumbnails down so that their dimensions match the values that you specified for at least one of thumbnail `MaxWidth` and `MaxHeight` without exceeding either value. If you specify this option, Elastic Transcoder does not scale thumbnails up.
        - `ShrinkToFill`: Elastic Transcoder scales thumbnails down so that their dimensions match the values that you specified for at least one of `MaxWidth` and `MaxHeight` without dropping below either value. If you specify this option, Elastic Transcoder does not scale thumbnails up.

    - #### withSizingPolicy

          public Thumbnails withSizingPolicy(java.lang.String sizingPolicy)

      Specify one of the following values to control scaling of thumbnails:

      - `Fit`: Elastic Transcoder scales thumbnails so they match the value that you specified in thumbnail MaxWidth or MaxHeight settings without exceeding the other value.
      - `Fill`: Elastic Transcoder scales thumbnails so they match the value that you specified in thumbnail `MaxWidth` or `MaxHeight` settings and matches or exceeds the other value. Elastic Transcoder centers the image in thumbnails and then crops in the dimension (if any) that exceeds the maximum value.
      - `Stretch`: Elastic Transcoder stretches thumbnails to match the values that you specified for thumbnail `MaxWidth` and `MaxHeight` settings. If the relative proportions of the input video and thumbnails are different, the thumbnails will be distorted.
      - `Keep`: Elastic Transcoder does not scale thumbnails. If either dimension of the input video exceeds the values that you specified for thumbnail `MaxWidth` and `MaxHeight` settings, Elastic Transcoder crops the thumbnails.
      - `ShrinkToFit`: Elastic Transcoder scales thumbnails down so that their dimensions match the values that you specified for at least one of thumbnail `MaxWidth` and `MaxHeight` without exceeding either value. If you specify this option, Elastic Transcoder does not scale thumbnails up.
      - `ShrinkToFill`: Elastic Transcoder scales thumbnails down so that their dimensions match the values that you specified for at least one of `MaxWidth` and `MaxHeight` without dropping below either value. If you specify this option, Elastic Transcoder does not scale thumbnails up.

      Returns a reference to this object so that method calls can be chained together.

      Constraints:
      Pattern: (^Fit$)|(^Fill$)|(^Stretch$)|(^Keep$)|(^ShrinkToFit$)|(^ShrinkToFill$)

      パラメータ:
        `sizingPolicy` - Specify one of the following values to control scaling of thumbnails:

        - `Fit`: Elastic Transcoder scales thumbnails so they match the value that you specified in thumbnail MaxWidth or MaxHeight settings without exceeding the other value.
        - `Fill`: Elastic Transcoder scales thumbnails so they match the value that you specified in thumbnail `MaxWidth` or `MaxHeight` settings and matches or exceeds the other value. Elastic Transcoder centers the image in thumbnails and then crops in the dimension (if any) that exceeds the maximum value.
        - `Stretch`: Elastic Transcoder stretches thumbnails to match the values that you specified for thumbnail `MaxWidth` and `MaxHeight` settings. If the relative proportions of the input video and thumbnails are different, the thumbnails will be distorted.
        - `Keep`: Elastic Transcoder does not scale thumbnails. If either dimension of the input video exceeds the values that you specified for thumbnail `MaxWidth` and `MaxHeight` settings, Elastic Transcoder crops the thumbnails.
        - `ShrinkToFit`: Elastic Transcoder scales thumbnails down so that their dimensions match the values that you specified for at least one of thumbnail `MaxWidth` and `MaxHeight` without exceeding either value. If you specify this option, Elastic Transcoder does not scale thumbnails up.
        - `ShrinkToFill`: Elastic Transcoder scales thumbnails down so that their dimensions match the values that you specified for at least one of `MaxWidth` and `MaxHeight` without dropping below either value. If you specify this option, Elastic Transcoder does not scale thumbnails up.

    - #### getPaddingPolicy

          public java.lang.String getPaddingPolicy()

      When you set `PaddingPolicy` to `Pad`, Elastic Transcoder may 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.

      Constraints:
      Pattern: (^Pad$)|(^NoPad$)

      戻り値:
        When you set `PaddingPolicy` to `Pad`, Elastic Transcoder may 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.

    - #### setPaddingPolicy

          public void setPaddingPolicy(java.lang.String paddingPolicy)

      When you set `PaddingPolicy` to `Pad`, Elastic Transcoder may 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.

      Constraints:
      Pattern: (^Pad$)|(^NoPad$)

      パラメータ:
        `paddingPolicy` - When you set `PaddingPolicy` to `Pad`, Elastic Transcoder may 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.

    - #### withPaddingPolicy

          public Thumbnails withPaddingPolicy(java.lang.String paddingPolicy)

      When you set `PaddingPolicy` to `Pad`, Elastic Transcoder may 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 a reference to this object so that method calls can be chained together.

      Constraints:
      Pattern: (^Pad$)|(^NoPad$)

      パラメータ:
        `paddingPolicy` - When you set `PaddingPolicy` to `Pad`, Elastic Transcoder may 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.

    - #### toString

          public java.lang.String toString()

      Returns a string representation of this object; useful for testing and debugging.
      オーバーライド:
        `toString` クラス内 `java.lang.Object`
      戻り値:
        A string representation of this object.
      関連項目:
        `Object.toString()`

    - #### hashCode

          public int hashCode()

      オーバーライド:
        `hashCode` クラス内 `java.lang.Object`

    - #### equals

          public boolean equals(java.lang.Object obj)

      オーバーライド:
        `equals` クラス内 `java.lang.Object`