com.amazonaws.services.elastictranscoder.model

## クラス JobInput

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

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

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

  Information about the file that you're transcoding.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getAspectRatio()` The aspect ratio of the input file.
    `java.lang.String` | `getContainer()` The container type for the input file.
    `java.lang.String` | `getFrameRate()` The frame rate of the input file.
    `java.lang.String` | `getInterlaced()` Whether the input file is interlaced.
    `java.lang.String` | `getKey()` The name of the file to transcode.
    `java.lang.String` | `getResolution()` This value must be `auto`, which causes Elastic Transcoder to automatically detect the resolution of the input file.
    `int` | `hashCode()`
    `void` | `setAspectRatio(java.lang.String aspectRatio)` The aspect ratio of the input file.
    `void` | `setContainer(java.lang.String container)` The container type for the input file.
    `void` | `setFrameRate(java.lang.String frameRate)` The frame rate of the input file.
    `void` | `setInterlaced(java.lang.String interlaced)` Whether the input file is interlaced.
    `void` | `setKey(java.lang.String key)` The name of the file to transcode.
    `void` | `setResolution(java.lang.String resolution)` This value must be `auto`, which causes Elastic Transcoder to automatically detect the resolution of the input file.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `JobInput` | `withAspectRatio(java.lang.String aspectRatio)` The aspect ratio of the input file.
    `JobInput` | `withContainer(java.lang.String container)` The container type for the input file.
    `JobInput` | `withFrameRate(java.lang.String frameRate)` The frame rate of the input file.
    `JobInput` | `withInterlaced(java.lang.String interlaced)` Whether the input file is interlaced.
    `JobInput` | `withKey(java.lang.String key)` The name of the file to transcode.
    `JobInput` | `withResolution(java.lang.String resolution)` This value must be `auto`, which causes Elastic Transcoder to automatically detect the resolution of the input file.

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

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

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

    - #### JobInput

          public JobInput()

  - ### メソッドの詳細

    - #### getKey

          public java.lang.String getKey()

      The name of the file to transcode. Elsewhere in the body of the JSON block is the the ID of the pipeline to use for processing the job. The `InputBucket` object in that pipeline tells Elastic Transcoder which Amazon S3 bucket to get the file from.

      If the file name includes a prefix, such as `cooking/lasagna.mpg`, include the prefix in the key. If the file isn't in the specified bucket, Elastic Transcoder returns an error.

      Constraints:
      Length: 1 - 255

      戻り値:
        The name of the file to transcode. Elsewhere in the body of the JSON block is the the ID of the pipeline to use for processing the job. The `InputBucket` object in that pipeline tells Elastic Transcoder which Amazon S3 bucket to get the file from.

        If the file name includes a prefix, such as `cooking/lasagna.mpg`, include the prefix in the key. If the file isn't in the specified bucket, Elastic Transcoder returns an error.

    - #### setKey

          public void setKey(java.lang.String key)

      The name of the file to transcode. Elsewhere in the body of the JSON block is the the ID of the pipeline to use for processing the job. The `InputBucket` object in that pipeline tells Elastic Transcoder which Amazon S3 bucket to get the file from.

      If the file name includes a prefix, such as `cooking/lasagna.mpg`, include the prefix in the key. If the file isn't in the specified bucket, Elastic Transcoder returns an error.

      Constraints:
      Length: 1 - 255

      パラメータ:
        `key` - The name of the file to transcode. Elsewhere in the body of the JSON block is the the ID of the pipeline to use for processing the job. The `InputBucket` object in that pipeline tells Elastic Transcoder which Amazon S3 bucket to get the file from.

        If the file name includes a prefix, such as `cooking/lasagna.mpg`, include the prefix in the key. If the file isn't in the specified bucket, Elastic Transcoder returns an error.

    - #### withKey

          public JobInput withKey(java.lang.String key)

      The name of the file to transcode. Elsewhere in the body of the JSON block is the the ID of the pipeline to use for processing the job. The `InputBucket` object in that pipeline tells Elastic Transcoder which Amazon S3 bucket to get the file from.

      If the file name includes a prefix, such as `cooking/lasagna.mpg`, include the prefix in the key. If the file isn't in the specified bucket, Elastic Transcoder returns an error.

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

      Constraints:
      Length: 1 - 255

      パラメータ:
        `key` - The name of the file to transcode. Elsewhere in the body of the JSON block is the the ID of the pipeline to use for processing the job. The `InputBucket` object in that pipeline tells Elastic Transcoder which Amazon S3 bucket to get the file from.

        If the file name includes a prefix, such as `cooking/lasagna.mpg`, include the prefix in the key. If the file isn't in the specified bucket, Elastic Transcoder returns an error.

    - #### getFrameRate

          public java.lang.String getFrameRate()

      The frame rate of the input file. If you want Elastic Transcoder to automatically detect the frame rate of the input file, specify `auto`. If you want to specify the frame rate for the input file, enter one of the following values:

      `10`, `15`, `23.97`, `24`, `25`, `29.97`, `30`, `60`

      If you specify a value other than `auto`, Elastic Transcoder disables automatic detection of the frame rate.

      Constraints:
      Pattern: (^auto$)|(^10$)|(^15$)|(^23.97$)|(^24$)|(^25$)|(^29.97$)|(^30$)|(^60$)

      戻り値:
        The frame rate of the input file. If you want Elastic Transcoder to automatically detect the frame rate of the input file, specify `auto`. If you want to specify the frame rate for the input file, enter one of the following values:

        `10`, `15`, `23.97`, `24`, `25`, `29.97`, `30`, `60`

        If you specify a value other than `auto`, Elastic Transcoder disables automatic detection of the frame rate.

    - #### setFrameRate

          public void setFrameRate(java.lang.String frameRate)

      The frame rate of the input file. If you want Elastic Transcoder to automatically detect the frame rate of the input file, specify `auto`. If you want to specify the frame rate for the input file, enter one of the following values:

      `10`, `15`, `23.97`, `24`, `25`, `29.97`, `30`, `60`

      If you specify a value other than `auto`, Elastic Transcoder disables automatic detection of the frame rate.

      Constraints:
      Pattern: (^auto$)|(^10$)|(^15$)|(^23.97$)|(^24$)|(^25$)|(^29.97$)|(^30$)|(^60$)

      パラメータ:
        `frameRate` - The frame rate of the input file. If you want Elastic Transcoder to automatically detect the frame rate of the input file, specify `auto`. If you want to specify the frame rate for the input file, enter one of the following values:

        `10`, `15`, `23.97`, `24`, `25`, `29.97`, `30`, `60`

        If you specify a value other than `auto`, Elastic Transcoder disables automatic detection of the frame rate.

    - #### withFrameRate

          public JobInput withFrameRate(java.lang.String frameRate)

      The frame rate of the input file. If you want Elastic Transcoder to automatically detect the frame rate of the input file, specify `auto`. If you want to specify the frame rate for the input file, enter one of the following values:

      `10`, `15`, `23.97`, `24`, `25`, `29.97`, `30`, `60`

      If you specify a value other than `auto`, Elastic Transcoder disables automatic detection of the frame rate.

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

      Constraints:
      Pattern: (^auto$)|(^10$)|(^15$)|(^23.97$)|(^24$)|(^25$)|(^29.97$)|(^30$)|(^60$)

      パラメータ:
        `frameRate` - The frame rate of the input file. If you want Elastic Transcoder to automatically detect the frame rate of the input file, specify `auto`. If you want to specify the frame rate for the input file, enter one of the following values:

        `10`, `15`, `23.97`, `24`, `25`, `29.97`, `30`, `60`

        If you specify a value other than `auto`, Elastic Transcoder disables automatic detection of the frame rate.

    - #### getResolution

          public java.lang.String getResolution()

      This value must be `auto`, which causes Elastic Transcoder to automatically detect the resolution of the input file.

      Constraints:
      Pattern: (^auto$)|(^\d{1,5}x\d{1,5}$)

      戻り値:
        This value must be `auto`, which causes Elastic Transcoder to automatically detect the resolution of the input file.

    - #### setResolution

          public void setResolution(java.lang.String resolution)

      This value must be `auto`, which causes Elastic Transcoder to automatically detect the resolution of the input file.

      Constraints:
      Pattern: (^auto$)|(^\d{1,5}x\d{1,5}$)

      パラメータ:
        `resolution` - This value must be `auto`, which causes Elastic Transcoder to automatically detect the resolution of the input file.

    - #### withResolution

          public JobInput withResolution(java.lang.String resolution)

      This value must be `auto`, which causes Elastic Transcoder to automatically detect the resolution of the input file.

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

      Constraints:
      Pattern: (^auto$)|(^\d{1,5}x\d{1,5}$)

      パラメータ:
        `resolution` - This value must be `auto`, which causes Elastic Transcoder to automatically detect the resolution of the input file.

    - #### getAspectRatio

          public java.lang.String getAspectRatio()

      The aspect ratio of the input file. If you want Elastic Transcoder to automatically detect the aspect ratio of the input file, specify `auto`. If you want to specify the aspect ratio for the output file, enter one of the following values:

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

      If you specify a value other than `auto`, Elastic Transcoder disables automatic detection of the aspect ratio.

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

      戻り値:
        The aspect ratio of the input file. If you want Elastic Transcoder to automatically detect the aspect ratio of the input file, specify `auto`. If you want to specify the aspect ratio for the output file, enter one of the following values:

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

        If you specify a value other than `auto`, Elastic Transcoder disables automatic detection of the aspect ratio.

    - #### setAspectRatio

          public void setAspectRatio(java.lang.String aspectRatio)

      The aspect ratio of the input file. If you want Elastic Transcoder to automatically detect the aspect ratio of the input file, specify `auto`. If you want to specify the aspect ratio for the output file, enter one of the following values:

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

      If you specify a value other than `auto`, Elastic Transcoder disables automatic detection of the aspect ratio.

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

      パラメータ:
        `aspectRatio` - The aspect ratio of the input file. If you want Elastic Transcoder to automatically detect the aspect ratio of the input file, specify `auto`. If you want to specify the aspect ratio for the output file, enter one of the following values:

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

        If you specify a value other than `auto`, Elastic Transcoder disables automatic detection of the aspect ratio.

    - #### withAspectRatio

          public JobInput withAspectRatio(java.lang.String aspectRatio)

      The aspect ratio of the input file. If you want Elastic Transcoder to automatically detect the aspect ratio of the input file, specify `auto`. If you want to specify the aspect ratio for the output file, enter one of the following values:

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

      If you specify a value other than `auto`, Elastic Transcoder disables automatic detection of the aspect ratio.

      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` - The aspect ratio of the input file. If you want Elastic Transcoder to automatically detect the aspect ratio of the input file, specify `auto`. If you want to specify the aspect ratio for the output file, enter one of the following values:

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

        If you specify a value other than `auto`, Elastic Transcoder disables automatic detection of the aspect ratio.

    - #### getInterlaced

          public java.lang.String getInterlaced()

      Whether the input file is interlaced. If you want Elastic Transcoder to automatically detect whether the input file is interlaced, specify `auto`. If you want to specify whether the input file is interlaced, enter one of the following values:

      `true`, `false`

      If you specify a value other than `auto`, Elastic Transcoder disables automatic detection of interlacing.

      Constraints:
      Pattern: (^auto$)|(^true$)|(^false$)

      戻り値:
        Whether the input file is interlaced. If you want Elastic Transcoder to automatically detect whether the input file is interlaced, specify `auto`. If you want to specify whether the input file is interlaced, enter one of the following values:

        `true`, `false`

        If you specify a value other than `auto`, Elastic Transcoder disables automatic detection of interlacing.

    - #### setInterlaced

          public void setInterlaced(java.lang.String interlaced)

      Whether the input file is interlaced. If you want Elastic Transcoder to automatically detect whether the input file is interlaced, specify `auto`. If you want to specify whether the input file is interlaced, enter one of the following values:

      `true`, `false`

      If you specify a value other than `auto`, Elastic Transcoder disables automatic detection of interlacing.

      Constraints:
      Pattern: (^auto$)|(^true$)|(^false$)

      パラメータ:
        `interlaced` - Whether the input file is interlaced. If you want Elastic Transcoder to automatically detect whether the input file is interlaced, specify `auto`. If you want to specify whether the input file is interlaced, enter one of the following values:

        `true`, `false`

        If you specify a value other than `auto`, Elastic Transcoder disables automatic detection of interlacing.

    - #### withInterlaced

          public JobInput withInterlaced(java.lang.String interlaced)

      Whether the input file is interlaced. If you want Elastic Transcoder to automatically detect whether the input file is interlaced, specify `auto`. If you want to specify whether the input file is interlaced, enter one of the following values:

      `true`, `false`

      If you specify a value other than `auto`, Elastic Transcoder disables automatic detection of interlacing.

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

      Constraints:
      Pattern: (^auto$)|(^true$)|(^false$)

      パラメータ:
        `interlaced` - Whether the input file is interlaced. If you want Elastic Transcoder to automatically detect whether the input file is interlaced, specify `auto`. If you want to specify whether the input file is interlaced, enter one of the following values:

        `true`, `false`

        If you specify a value other than `auto`, Elastic Transcoder disables automatic detection of interlacing.

    - #### getContainer

          public java.lang.String getContainer()

      The container type for the input file. If you want Elastic Transcoder to automatically detect the container type of the input file, specify `auto`. If you want to specify the container type for the input file, enter one of the following values:

      `3gp`, `asf`, `avi`, `divx`, `flv`, `mkv`, `mov`, `mp4`, `mpeg`, `mpeg-ps`, `mpeg-ts`, `mxf`, `ogg`, `vob`, `wav`, `webm`

      Constraints:
      Pattern: (^auto$)|(^3gp$)|(^asf$)|(^avi$)|(^divx$)|(^flv$)|(^mkv$)|(^mov$)|(^mp4$)|(^mpeg$)|(^mpeg-ps$)|(^mpeg-ts$)|(^mxf$)|(^ogg$)|(^ts$)|(^vob$)|(^wav$)|(^webm$)

      戻り値:
        The container type for the input file. If you want Elastic Transcoder to automatically detect the container type of the input file, specify `auto`. If you want to specify the container type for the input file, enter one of the following values:

        `3gp`, `asf`, `avi`, `divx`, `flv`, `mkv`, `mov`, `mp4`, `mpeg`, `mpeg-ps`, `mpeg-ts`, `mxf`, `ogg`, `vob`, `wav`, `webm`

    - #### setContainer

          public void setContainer(java.lang.String container)

      The container type for the input file. If you want Elastic Transcoder to automatically detect the container type of the input file, specify `auto`. If you want to specify the container type for the input file, enter one of the following values:

      `3gp`, `asf`, `avi`, `divx`, `flv`, `mkv`, `mov`, `mp4`, `mpeg`, `mpeg-ps`, `mpeg-ts`, `mxf`, `ogg`, `vob`, `wav`, `webm`

      Constraints:
      Pattern: (^auto$)|(^3gp$)|(^asf$)|(^avi$)|(^divx$)|(^flv$)|(^mkv$)|(^mov$)|(^mp4$)|(^mpeg$)|(^mpeg-ps$)|(^mpeg-ts$)|(^mxf$)|(^ogg$)|(^ts$)|(^vob$)|(^wav$)|(^webm$)

      パラメータ:
        `container` - The container type for the input file. If you want Elastic Transcoder to automatically detect the container type of the input file, specify `auto`. If you want to specify the container type for the input file, enter one of the following values:

        `3gp`, `asf`, `avi`, `divx`, `flv`, `mkv`, `mov`, `mp4`, `mpeg`, `mpeg-ps`, `mpeg-ts`, `mxf`, `ogg`, `vob`, `wav`, `webm`

    - #### withContainer

          public JobInput withContainer(java.lang.String container)

      The container type for the input file. If you want Elastic Transcoder to automatically detect the container type of the input file, specify `auto`. If you want to specify the container type for the input file, enter one of the following values:

      `3gp`, `asf`, `avi`, `divx`, `flv`, `mkv`, `mov`, `mp4`, `mpeg`, `mpeg-ps`, `mpeg-ts`, `mxf`, `ogg`, `vob`, `wav`, `webm`

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

      Constraints:
      Pattern: (^auto$)|(^3gp$)|(^asf$)|(^avi$)|(^divx$)|(^flv$)|(^mkv$)|(^mov$)|(^mp4$)|(^mpeg$)|(^mpeg-ps$)|(^mpeg-ts$)|(^mxf$)|(^ogg$)|(^ts$)|(^vob$)|(^wav$)|(^webm$)

      パラメータ:
        `container` - The container type for the input file. If you want Elastic Transcoder to automatically detect the container type of the input file, specify `auto`. If you want to specify the container type for the input file, enter one of the following values:

        `3gp`, `asf`, `avi`, `divx`, `flv`, `mkv`, `mov`, `mp4`, `mpeg`, `mpeg-ps`, `mpeg-ts`, `mxf`, `ogg`, `vob`, `wav`, `webm`

    - #### 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`