com.amazonaws.services.elastictranscoder.model

## クラス Job

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

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

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

  A section of the response body that provides information about the job that is created.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getId()` The identifier that Elastic Transcoder assigned to the job.
    `JobInput` | `getInput()` A section of the request or response body that provides information about the file that is being transcoded.
    `JobOutput` | `getOutput()` If you specified one output for a job, information about that output.
    `java.lang.String` | `getOutputKeyPrefix()` The value, if any, that you want Elastic Transcoder to prepend to the names of all files that this job creates, including output files, thumbnails, and playlists.
    `java.util.List<JobOutput>` | `getOutputs()` Information about the output files.
    `java.lang.String` | `getPipelineId()` The `Id` of the pipeline that you want Elastic Transcoder to use for transcoding.
    `java.util.List<Playlist>` | `getPlaylists()` Outputs in MPEG-TS format only.
    `java.lang.String` | `getStatus()` The status of the job: `Submitted`, `Progressing`, `Complete`, `Canceled`, or `Error`.
    `int` | `hashCode()`
    `void` | `setId(java.lang.String id)` The identifier that Elastic Transcoder assigned to the job.
    `void` | `setInput(JobInput input)` A section of the request or response body that provides information about the file that is being transcoded.
    `void` | `setOutput(JobOutput output)` If you specified one output for a job, information about that output.
    `void` | `setOutputKeyPrefix(java.lang.String outputKeyPrefix)` The value, if any, that you want Elastic Transcoder to prepend to the names of all files that this job creates, including output files, thumbnails, and playlists.
    `void` | `setOutputs(java.util.Collection<JobOutput> outputs)` Information about the output files.
    `void` | `setPipelineId(java.lang.String pipelineId)` The `Id` of the pipeline that you want Elastic Transcoder to use for transcoding.
    `void` | `setPlaylists(java.util.Collection<Playlist> playlists)` Outputs in MPEG-TS format only.
    `void` | `setStatus(java.lang.String status)` The status of the job: `Submitted`, `Progressing`, `Complete`, `Canceled`, or `Error`.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `Job` | `withId(java.lang.String id)` The identifier that Elastic Transcoder assigned to the job.
    `Job` | `withInput(JobInput input)` A section of the request or response body that provides information about the file that is being transcoded.
    `Job` | `withOutput(JobOutput output)` If you specified one output for a job, information about that output.
    `Job` | `withOutputKeyPrefix(java.lang.String outputKeyPrefix)` The value, if any, that you want Elastic Transcoder to prepend to the names of all files that this job creates, including output files, thumbnails, and playlists.
    `Job` | `withOutputs(java.util.Collection<JobOutput> outputs)` Information about the output files.
    `Job` | `withOutputs(JobOutput... outputs)` Information about the output files.
    `Job` | `withPipelineId(java.lang.String pipelineId)` The `Id` of the pipeline that you want Elastic Transcoder to use for transcoding.
    `Job` | `withPlaylists(java.util.Collection<Playlist> playlists)` Outputs in MPEG-TS format only.
    `Job` | `withPlaylists(Playlist... playlists)` Outputs in MPEG-TS format only.
    `Job` | `withStatus(java.lang.String status)` The status of the job: `Submitted`, `Progressing`, `Complete`, `Canceled`, or `Error`.

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

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

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

    - #### Job

          public Job()

  - ### メソッドの詳細

    - #### getId

          public java.lang.String getId()

      The identifier that Elastic Transcoder assigned to the job. You use this value to get settings for the job or to delete the job.

      Constraints:
      Pattern: ^\d{13}-\w{6}$

      戻り値:
        The identifier that Elastic Transcoder assigned to the job. You use this value to get settings for the job or to delete the job.

    - #### setId

          public void setId(java.lang.String id)

      The identifier that Elastic Transcoder assigned to the job. You use this value to get settings for the job or to delete the job.

      Constraints:
      Pattern: ^\d{13}-\w{6}$

      パラメータ:
        `id` - The identifier that Elastic Transcoder assigned to the job. You use this value to get settings for the job or to delete the job.

    - #### withId

          public Job withId(java.lang.String id)

      The identifier that Elastic Transcoder assigned to the job. You use this value to get settings for the job or to delete the job.

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

      Constraints:
      Pattern: ^\d{13}-\w{6}$

      パラメータ:
        `id` - The identifier that Elastic Transcoder assigned to the job. You use this value to get settings for the job or to delete the job.

    - #### getPipelineId

          public java.lang.String getPipelineId()

      The `Id` of the pipeline that you want Elastic Transcoder to use for transcoding. The pipeline determines several settings, including the Amazon S3 bucket from which Elastic Transcoder gets the files to transcode and the bucket into which Elastic Transcoder puts the transcoded files.

      Constraints:
      Pattern: ^\d{13}-\w{6}$

      戻り値:
        The `Id` of the pipeline that you want Elastic Transcoder to use for transcoding. The pipeline determines several settings, including the Amazon S3 bucket from which Elastic Transcoder gets the files to transcode and the bucket into which Elastic Transcoder puts the transcoded files.

    - #### setPipelineId

          public void setPipelineId(java.lang.String pipelineId)

      The `Id` of the pipeline that you want Elastic Transcoder to use for transcoding. The pipeline determines several settings, including the Amazon S3 bucket from which Elastic Transcoder gets the files to transcode and the bucket into which Elastic Transcoder puts the transcoded files.

      Constraints:
      Pattern: ^\d{13}-\w{6}$

      パラメータ:
        `pipelineId` - The `Id` of the pipeline that you want Elastic Transcoder to use for transcoding. The pipeline determines several settings, including the Amazon S3 bucket from which Elastic Transcoder gets the files to transcode and the bucket into which Elastic Transcoder puts the transcoded files.

    - #### withPipelineId

          public Job withPipelineId(java.lang.String pipelineId)

      The `Id` of the pipeline that you want Elastic Transcoder to use for transcoding. The pipeline determines several settings, including the Amazon S3 bucket from which Elastic Transcoder gets the files to transcode and the bucket into which Elastic Transcoder puts the transcoded files.

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

      Constraints:
      Pattern: ^\d{13}-\w{6}$

      パラメータ:
        `pipelineId` - The `Id` of the pipeline that you want Elastic Transcoder to use for transcoding. The pipeline determines several settings, including the Amazon S3 bucket from which Elastic Transcoder gets the files to transcode and the bucket into which Elastic Transcoder puts the transcoded files.

    - #### getInput

          public JobInput getInput()

      A section of the request or response body that provides information about the file that is being transcoded.
      戻り値:
        A section of the request or response body that provides information about the file that is being transcoded.

    - #### setInput

          public void setInput(JobInput input)

      A section of the request or response body that provides information about the file that is being transcoded.
      パラメータ:
        `input` - A section of the request or response body that provides information about the file that is being transcoded.

    - #### withInput

          public Job withInput(JobInput input)

      A section of the request or response body that provides information about the file that is being transcoded.

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

      パラメータ:
        `input` - A section of the request or response body that provides information about the file that is being transcoded.

    - #### getOutput

          public JobOutput getOutput()

      If you specified one output for a job, information about that output. If you specified multiple outputs for a job, the Output object lists information about the first output. This duplicates the information that is listed for the first output in the Outputs object.

      Outputs recommended instead. A section of the request or response body that provides information about the transcoded (target) file.

      戻り値:
        If you specified one output for a job, information about that output. If you specified multiple outputs for a job, the Output object lists information about the first output. This duplicates the information that is listed for the first output in the Outputs object.

        Outputs recommended instead. A section of the request or response body that provides information about the transcoded (target) file.

    - #### setOutput

          public void setOutput(JobOutput output)

      If you specified one output for a job, information about that output. If you specified multiple outputs for a job, the Output object lists information about the first output. This duplicates the information that is listed for the first output in the Outputs object.

      Outputs recommended instead. A section of the request or response body that provides information about the transcoded (target) file.

      パラメータ:
        `output` - If you specified one output for a job, information about that output. If you specified multiple outputs for a job, the Output object lists information about the first output. This duplicates the information that is listed for the first output in the Outputs object.

        Outputs recommended instead. A section of the request or response body that provides information about the transcoded (target) file.

    - #### withOutput

          public Job withOutput(JobOutput output)

      If you specified one output for a job, information about that output. If you specified multiple outputs for a job, the Output object lists information about the first output. This duplicates the information that is listed for the first output in the Outputs object.

      Outputs recommended instead. A section of the request or response body that provides information about the transcoded (target) file.

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

      パラメータ:
        `output` - If you specified one output for a job, information about that output. If you specified multiple outputs for a job, the Output object lists information about the first output. This duplicates the information that is listed for the first output in the Outputs object.

        Outputs recommended instead. A section of the request or response body that provides information about the transcoded (target) file.

    - #### getOutputs

          public java.util.List<JobOutput> getOutputs()

      Information about the output files. We recommend that you use the `Outputs` syntax for all jobs, even when you want Elastic Transcoder to transcode a file into only one format. Do not use both the `Outputs` and `Output` syntaxes in the same request. You can create a maximum of 30 outputs per job.

      If you specify more than one output for a job, Elastic Transcoder creates the files for each output in the order in which you specify them in the job.

      戻り値:
        Information about the output files. We recommend that you use the `Outputs` syntax for all jobs, even when you want Elastic Transcoder to transcode a file into only one format. Do not use both the `Outputs` and `Output` syntaxes in the same request. You can create a maximum of 30 outputs per job.

        If you specify more than one output for a job, Elastic Transcoder creates the files for each output in the order in which you specify them in the job.

    - #### setOutputs

          public void setOutputs(java.util.Collection<JobOutput> outputs)

      Information about the output files. We recommend that you use the `Outputs` syntax for all jobs, even when you want Elastic Transcoder to transcode a file into only one format. Do not use both the `Outputs` and `Output` syntaxes in the same request. You can create a maximum of 30 outputs per job.

      If you specify more than one output for a job, Elastic Transcoder creates the files for each output in the order in which you specify them in the job.

      パラメータ:
        `outputs` - Information about the output files. We recommend that you use the `Outputs` syntax for all jobs, even when you want Elastic Transcoder to transcode a file into only one format. Do not use both the `Outputs` and `Output` syntaxes in the same request. You can create a maximum of 30 outputs per job.

        If you specify more than one output for a job, Elastic Transcoder creates the files for each output in the order in which you specify them in the job.

    - #### withOutputs

          public Job withOutputs(JobOutput... outputs)

      Information about the output files. We recommend that you use the `Outputs` syntax for all jobs, even when you want Elastic Transcoder to transcode a file into only one format. Do not use both the `Outputs` and `Output` syntaxes in the same request. You can create a maximum of 30 outputs per job.

      If you specify more than one output for a job, Elastic Transcoder creates the files for each output in the order in which you specify them in the job.

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

      パラメータ:
        `outputs` - Information about the output files. We recommend that you use the `Outputs` syntax for all jobs, even when you want Elastic Transcoder to transcode a file into only one format. Do not use both the `Outputs` and `Output` syntaxes in the same request. You can create a maximum of 30 outputs per job.

        If you specify more than one output for a job, Elastic Transcoder creates the files for each output in the order in which you specify them in the job.

    - #### withOutputs

          public Job withOutputs(java.util.Collection<JobOutput> outputs)

      Information about the output files. We recommend that you use the `Outputs` syntax for all jobs, even when you want Elastic Transcoder to transcode a file into only one format. Do not use both the `Outputs` and `Output` syntaxes in the same request. You can create a maximum of 30 outputs per job.

      If you specify more than one output for a job, Elastic Transcoder creates the files for each output in the order in which you specify them in the job.

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

      パラメータ:
        `outputs` - Information about the output files. We recommend that you use the `Outputs` syntax for all jobs, even when you want Elastic Transcoder to transcode a file into only one format. Do not use both the `Outputs` and `Output` syntaxes in the same request. You can create a maximum of 30 outputs per job.

        If you specify more than one output for a job, Elastic Transcoder creates the files for each output in the order in which you specify them in the job.

    - #### getOutputKeyPrefix

          public java.lang.String getOutputKeyPrefix()

      The value, if any, that you want Elastic Transcoder to prepend to the names of all files that this job creates, including output files, thumbnails, and playlists. We recommend that you add a / or some other delimiter to the end of the `OutputKeyPrefix`.

      Constraints:
      Length: 1 - 255

      戻り値:
        The value, if any, that you want Elastic Transcoder to prepend to the names of all files that this job creates, including output files, thumbnails, and playlists. We recommend that you add a / or some other delimiter to the end of the `OutputKeyPrefix`.

    - #### setOutputKeyPrefix

          public void setOutputKeyPrefix(java.lang.String outputKeyPrefix)

      The value, if any, that you want Elastic Transcoder to prepend to the names of all files that this job creates, including output files, thumbnails, and playlists. We recommend that you add a / or some other delimiter to the end of the `OutputKeyPrefix`.

      Constraints:
      Length: 1 - 255

      パラメータ:
        `outputKeyPrefix` - The value, if any, that you want Elastic Transcoder to prepend to the names of all files that this job creates, including output files, thumbnails, and playlists. We recommend that you add a / or some other delimiter to the end of the `OutputKeyPrefix`.

    - #### withOutputKeyPrefix

          public Job withOutputKeyPrefix(java.lang.String outputKeyPrefix)

      The value, if any, that you want Elastic Transcoder to prepend to the names of all files that this job creates, including output files, thumbnails, and playlists. We recommend that you add a / or some other delimiter to the end of the `OutputKeyPrefix`.

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

      Constraints:
      Length: 1 - 255

      パラメータ:
        `outputKeyPrefix` - The value, if any, that you want Elastic Transcoder to prepend to the names of all files that this job creates, including output files, thumbnails, and playlists. We recommend that you add a / or some other delimiter to the end of the `OutputKeyPrefix`.

    - #### getPlaylists

          public java.util.List<Playlist> getPlaylists()

      Outputs in MPEG-TS format only.If you specify a preset in `PresetId` for which the value of `Container` is ts (MPEG-TS), `Playlists` contains information about the master playlists that you want Elastic Transcoder to create.

      We recommend that you create only one master playlist. The maximum number of master playlists in a job is 30.

      戻り値:
        Outputs in MPEG-TS format only.If you specify a preset in `PresetId` for which the value of `Container` is ts (MPEG-TS), `Playlists` contains information about the master playlists that you want Elastic Transcoder to create.

        We recommend that you create only one master playlist. The maximum number of master playlists in a job is 30.

    - #### setPlaylists

          public void setPlaylists(java.util.Collection<Playlist> playlists)

      Outputs in MPEG-TS format only.If you specify a preset in `PresetId` for which the value of `Container` is ts (MPEG-TS), `Playlists` contains information about the master playlists that you want Elastic Transcoder to create.

      We recommend that you create only one master playlist. The maximum number of master playlists in a job is 30.

      パラメータ:
        `playlists` - Outputs in MPEG-TS format only.If you specify a preset in `PresetId` for which the value of `Container` is ts (MPEG-TS), `Playlists` contains information about the master playlists that you want Elastic Transcoder to create.

        We recommend that you create only one master playlist. The maximum number of master playlists in a job is 30.

    - #### withPlaylists

          public Job withPlaylists(Playlist... playlists)

      Outputs in MPEG-TS format only.If you specify a preset in `PresetId` for which the value of `Container` is ts (MPEG-TS), `Playlists` contains information about the master playlists that you want Elastic Transcoder to create.

      We recommend that you create only one master playlist. The maximum number of master playlists in a job is 30.

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

      パラメータ:
        `playlists` - Outputs in MPEG-TS format only.If you specify a preset in `PresetId` for which the value of `Container` is ts (MPEG-TS), `Playlists` contains information about the master playlists that you want Elastic Transcoder to create.

        We recommend that you create only one master playlist. The maximum number of master playlists in a job is 30.

    - #### withPlaylists

          public Job withPlaylists(java.util.Collection<Playlist> playlists)

      Outputs in MPEG-TS format only.If you specify a preset in `PresetId` for which the value of `Container` is ts (MPEG-TS), `Playlists` contains information about the master playlists that you want Elastic Transcoder to create.

      We recommend that you create only one master playlist. The maximum number of master playlists in a job is 30.

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

      パラメータ:
        `playlists` - Outputs in MPEG-TS format only.If you specify a preset in `PresetId` for which the value of `Container` is ts (MPEG-TS), `Playlists` contains information about the master playlists that you want Elastic Transcoder to create.

        We recommend that you create only one master playlist. The maximum number of master playlists in a job is 30.

    - #### getStatus

          public java.lang.String getStatus()

      The status of the job: `Submitted`, `Progressing`, `Complete`, `Canceled`, or `Error`.

      Constraints:
      Pattern: (^Submitted$)|(^Progressing$)|(^Complete$)|(^Canceled$)|(^Error$)

      戻り値:
        The status of the job: `Submitted`, `Progressing`, `Complete`, `Canceled`, or `Error`.

    - #### setStatus

          public void setStatus(java.lang.String status)

      The status of the job: `Submitted`, `Progressing`, `Complete`, `Canceled`, or `Error`.

      Constraints:
      Pattern: (^Submitted$)|(^Progressing$)|(^Complete$)|(^Canceled$)|(^Error$)

      パラメータ:
        `status` - The status of the job: `Submitted`, `Progressing`, `Complete`, `Canceled`, or `Error`.

    - #### withStatus

          public Job withStatus(java.lang.String status)

      The status of the job: `Submitted`, `Progressing`, `Complete`, `Canceled`, or `Error`.

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

      Constraints:
      Pattern: (^Submitted$)|(^Progressing$)|(^Complete$)|(^Canceled$)|(^Error$)

      パラメータ:
        `status` - The status of the job: `Submitted`, `Progressing`, `Complete`, `Canceled`, or `Error`.

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