com.amazonaws.services.elastictranscoder.model

## クラス CreateJobOutput

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

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

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

  The `CreateJobOutput` structure.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getKey()` The name to assign to the transcoded file.
    `java.lang.String` | `getPresetId()` The `Id` of the preset to use for this job.
    `java.lang.String` | `getRotate()` The number of degrees clockwise by which you want Elastic Transcoder to rotate the output relative to the input.
    `java.lang.String` | `getSegmentDuration()` If you specify a preset in `PresetId` for which the value of `Container` is ts (MPEG-TS), SegmentDuration is the duration of each .ts file in seconds.
    `java.lang.String` | `getThumbnailPattern()` Whether you want Elastic Transcoder to create thumbnails for your videos and, if so, how you want Elastic Transcoder to name the files.
    `java.util.List<JobWatermark>` | `getWatermarks()` Information about the watermarks that you want Elastic Transcoder to add to the video during transcoding.
    `int` | `hashCode()`
    `void` | `setKey(java.lang.String key)` The name to assign to the transcoded file.
    `void` | `setPresetId(java.lang.String presetId)` The `Id` of the preset to use for this job.
    `void` | `setRotate(java.lang.String rotate)` The number of degrees clockwise by which you want Elastic Transcoder to rotate the output relative to the input.
    `void` | `setSegmentDuration(java.lang.String segmentDuration)` If you specify a preset in `PresetId` for which the value of `Container` is ts (MPEG-TS), SegmentDuration is the duration of each .ts file in seconds.
    `void` | `setThumbnailPattern(java.lang.String thumbnailPattern)` Whether you want Elastic Transcoder to create thumbnails for your videos and, if so, how you want Elastic Transcoder to name the files.
    `void` | `setWatermarks(java.util.Collection<JobWatermark> watermarks)` Information about the watermarks that you want Elastic Transcoder to add to the video during transcoding.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `CreateJobOutput` | `withKey(java.lang.String key)` The name to assign to the transcoded file.
    `CreateJobOutput` | `withPresetId(java.lang.String presetId)` The `Id` of the preset to use for this job.
    `CreateJobOutput` | `withRotate(java.lang.String rotate)` The number of degrees clockwise by which you want Elastic Transcoder to rotate the output relative to the input.
    `CreateJobOutput` | `withSegmentDuration(java.lang.String segmentDuration)` If you specify a preset in `PresetId` for which the value of `Container` is ts (MPEG-TS), SegmentDuration is the duration of each .ts file in seconds.
    `CreateJobOutput` | `withThumbnailPattern(java.lang.String thumbnailPattern)` Whether you want Elastic Transcoder to create thumbnails for your videos and, if so, how you want Elastic Transcoder to name the files.
    `CreateJobOutput` | `withWatermarks(java.util.Collection<JobWatermark> watermarks)` Information about the watermarks that you want Elastic Transcoder to add to the video during transcoding.
    `CreateJobOutput` | `withWatermarks(JobWatermark... watermarks)` Information about the watermarks that you want Elastic Transcoder to add to the video during transcoding.

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

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

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

    - #### CreateJobOutput

          public CreateJobOutput()

  - ### メソッドの詳細

    - #### getKey

          public java.lang.String getKey()

      The name to assign to the transcoded file. Elastic Transcoder saves the file in the Amazon S3 bucket specified by the `OutputBucket` object in the pipeline that is specified by the pipeline ID. If a file with the specified name already exists in the output bucket, the job fails.

      Constraints:
      Length: 1 - 255

      戻り値:
        The name to assign to the transcoded file. Elastic Transcoder saves the file in the Amazon S3 bucket specified by the `OutputBucket` object in the pipeline that is specified by the pipeline ID. If a file with the specified name already exists in the output bucket, the job fails.

    - #### setKey

          public void setKey(java.lang.String key)

      The name to assign to the transcoded file. Elastic Transcoder saves the file in the Amazon S3 bucket specified by the `OutputBucket` object in the pipeline that is specified by the pipeline ID. If a file with the specified name already exists in the output bucket, the job fails.

      Constraints:
      Length: 1 - 255

      パラメータ:
        `key` - The name to assign to the transcoded file. Elastic Transcoder saves the file in the Amazon S3 bucket specified by the `OutputBucket` object in the pipeline that is specified by the pipeline ID. If a file with the specified name already exists in the output bucket, the job fails.

    - #### withKey

          public CreateJobOutput withKey(java.lang.String key)

      The name to assign to the transcoded file. Elastic Transcoder saves the file in the Amazon S3 bucket specified by the `OutputBucket` object in the pipeline that is specified by the pipeline ID. If a file with the specified name already exists in the output bucket, the job fails.

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

      Constraints:
      Length: 1 - 255

      パラメータ:
        `key` - The name to assign to the transcoded file. Elastic Transcoder saves the file in the Amazon S3 bucket specified by the `OutputBucket` object in the pipeline that is specified by the pipeline ID. If a file with the specified name already exists in the output bucket, the job fails.

    - #### getThumbnailPattern

          public java.lang.String getThumbnailPattern()

      Whether you want Elastic Transcoder to create thumbnails for your videos and, if so, how you want Elastic Transcoder to name the files.

      If you don't want Elastic Transcoder to create thumbnails, specify "".

      If you do want Elastic Transcoder to create thumbnails, specify the information that you want to include in the file name for each thumbnail. You can specify the following values in any sequence:

      - `{count}` (Required): If you want to create thumbnails, you must include `{count}` in the `ThumbnailPattern` object. Wherever you specify `{count}`, Elastic Transcoder adds a five-digit sequence number (beginning with 00001) to thumbnail file names. The number indicates where a given thumbnail appears in the sequence of thumbnails for a transcoded file. If you specify a literal value and/or `{resolution}` but you omit `{count}`, Elastic Transcoder returns a validation error and does not create the job.

      - Literal values (Optional): You can specify literal values anywhere in the `ThumbnailPattern` object. For example, you can include them as a file name prefix or as a delimiter between `{resolution}` and `{count}`.

      - `{resolution}` (Optional): If you want Elastic Transcoder to include the resolution in the file name, include `{resolution}` in the `ThumbnailPattern` object.

      When creating thumbnails, Elastic Transcoder automatically saves the files in the format (.jpg or .png) that appears in the preset that you specified in the `PresetID` value of `CreateJobOutput`. Elastic Transcoder also appends the applicable file name extension.

      Constraints:
      Pattern: (^$)|(^.*\{count\}.*$)

      戻り値:
        Whether you want Elastic Transcoder to create thumbnails for your videos and, if so, how you want Elastic Transcoder to name the files.

        If you don't want Elastic Transcoder to create thumbnails, specify "".

        If you do want Elastic Transcoder to create thumbnails, specify the information that you want to include in the file name for each thumbnail. You can specify the following values in any sequence:

        - `{count}` (Required): If you want to create thumbnails, you must include `{count}` in the `ThumbnailPattern` object. Wherever you specify `{count}`, Elastic Transcoder adds a five-digit sequence number (beginning with 00001) to thumbnail file names. The number indicates where a given thumbnail appears in the sequence of thumbnails for a transcoded file. If you specify a literal value and/or `{resolution}` but you omit `{count}`, Elastic Transcoder returns a validation error and does not create the job.

        - Literal values (Optional): You can specify literal values anywhere in the `ThumbnailPattern` object. For example, you can include them as a file name prefix or as a delimiter between `{resolution}` and `{count}`.

        - `{resolution}` (Optional): If you want Elastic Transcoder to include the resolution in the file name, include `{resolution}` in the `ThumbnailPattern` object.

        When creating thumbnails, Elastic Transcoder automatically saves the files in the format (.jpg or .png) that appears in the preset that you specified in the `PresetID` value of `CreateJobOutput`. Elastic Transcoder also appends the applicable file name extension.

    - #### setThumbnailPattern

          public void setThumbnailPattern(java.lang.String thumbnailPattern)

      Whether you want Elastic Transcoder to create thumbnails for your videos and, if so, how you want Elastic Transcoder to name the files.

      If you don't want Elastic Transcoder to create thumbnails, specify "".

      If you do want Elastic Transcoder to create thumbnails, specify the information that you want to include in the file name for each thumbnail. You can specify the following values in any sequence:

      - `{count}` (Required): If you want to create thumbnails, you must include `{count}` in the `ThumbnailPattern` object. Wherever you specify `{count}`, Elastic Transcoder adds a five-digit sequence number (beginning with 00001) to thumbnail file names. The number indicates where a given thumbnail appears in the sequence of thumbnails for a transcoded file. If you specify a literal value and/or `{resolution}` but you omit `{count}`, Elastic Transcoder returns a validation error and does not create the job.

      - Literal values (Optional): You can specify literal values anywhere in the `ThumbnailPattern` object. For example, you can include them as a file name prefix or as a delimiter between `{resolution}` and `{count}`.

      - `{resolution}` (Optional): If you want Elastic Transcoder to include the resolution in the file name, include `{resolution}` in the `ThumbnailPattern` object.

      When creating thumbnails, Elastic Transcoder automatically saves the files in the format (.jpg or .png) that appears in the preset that you specified in the `PresetID` value of `CreateJobOutput`. Elastic Transcoder also appends the applicable file name extension.

      Constraints:
      Pattern: (^$)|(^.*\{count\}.*$)

      パラメータ:
        `thumbnailPattern` - Whether you want Elastic Transcoder to create thumbnails for your videos and, if so, how you want Elastic Transcoder to name the files.

        If you don't want Elastic Transcoder to create thumbnails, specify "".

        If you do want Elastic Transcoder to create thumbnails, specify the information that you want to include in the file name for each thumbnail. You can specify the following values in any sequence:

        - `{count}` (Required): If you want to create thumbnails, you must include `{count}` in the `ThumbnailPattern` object. Wherever you specify `{count}`, Elastic Transcoder adds a five-digit sequence number (beginning with 00001) to thumbnail file names. The number indicates where a given thumbnail appears in the sequence of thumbnails for a transcoded file. If you specify a literal value and/or `{resolution}` but you omit `{count}`, Elastic Transcoder returns a validation error and does not create the job.

        - Literal values (Optional): You can specify literal values anywhere in the `ThumbnailPattern` object. For example, you can include them as a file name prefix or as a delimiter between `{resolution}` and `{count}`.

        - `{resolution}` (Optional): If you want Elastic Transcoder to include the resolution in the file name, include `{resolution}` in the `ThumbnailPattern` object.

        When creating thumbnails, Elastic Transcoder automatically saves the files in the format (.jpg or .png) that appears in the preset that you specified in the `PresetID` value of `CreateJobOutput`. Elastic Transcoder also appends the applicable file name extension.

    - #### withThumbnailPattern

          public CreateJobOutput withThumbnailPattern(java.lang.String thumbnailPattern)

      Whether you want Elastic Transcoder to create thumbnails for your videos and, if so, how you want Elastic Transcoder to name the files.

      If you don't want Elastic Transcoder to create thumbnails, specify "".

      If you do want Elastic Transcoder to create thumbnails, specify the information that you want to include in the file name for each thumbnail. You can specify the following values in any sequence:

      - `{count}` (Required): If you want to create thumbnails, you must include `{count}` in the `ThumbnailPattern` object. Wherever you specify `{count}`, Elastic Transcoder adds a five-digit sequence number (beginning with 00001) to thumbnail file names. The number indicates where a given thumbnail appears in the sequence of thumbnails for a transcoded file. If you specify a literal value and/or `{resolution}` but you omit `{count}`, Elastic Transcoder returns a validation error and does not create the job.

      - Literal values (Optional): You can specify literal values anywhere in the `ThumbnailPattern` object. For example, you can include them as a file name prefix or as a delimiter between `{resolution}` and `{count}`.

      - `{resolution}` (Optional): If you want Elastic Transcoder to include the resolution in the file name, include `{resolution}` in the `ThumbnailPattern` object.

      When creating thumbnails, Elastic Transcoder automatically saves the files in the format (.jpg or .png) that appears in the preset that you specified in the `PresetID` value of `CreateJobOutput`. Elastic Transcoder also appends the applicable file name extension.

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

      Constraints:
      Pattern: (^$)|(^.*\{count\}.*$)

      パラメータ:
        `thumbnailPattern` - Whether you want Elastic Transcoder to create thumbnails for your videos and, if so, how you want Elastic Transcoder to name the files.

        If you don't want Elastic Transcoder to create thumbnails, specify "".

        If you do want Elastic Transcoder to create thumbnails, specify the information that you want to include in the file name for each thumbnail. You can specify the following values in any sequence:

        - `{count}` (Required): If you want to create thumbnails, you must include `{count}` in the `ThumbnailPattern` object. Wherever you specify `{count}`, Elastic Transcoder adds a five-digit sequence number (beginning with 00001) to thumbnail file names. The number indicates where a given thumbnail appears in the sequence of thumbnails for a transcoded file. If you specify a literal value and/or `{resolution}` but you omit `{count}`, Elastic Transcoder returns a validation error and does not create the job.

        - Literal values (Optional): You can specify literal values anywhere in the `ThumbnailPattern` object. For example, you can include them as a file name prefix or as a delimiter between `{resolution}` and `{count}`.

        - `{resolution}` (Optional): If you want Elastic Transcoder to include the resolution in the file name, include `{resolution}` in the `ThumbnailPattern` object.

        When creating thumbnails, Elastic Transcoder automatically saves the files in the format (.jpg or .png) that appears in the preset that you specified in the `PresetID` value of `CreateJobOutput`. Elastic Transcoder also appends the applicable file name extension.

    - #### getRotate

          public java.lang.String getRotate()

      The number of degrees clockwise by which you want Elastic Transcoder to rotate the output relative to the input. Enter one of the following values: `auto`, `0`, `90`, `180`, `270`. The value `auto` generally works only if the file that you're transcoding contains rotation metadata.

      Constraints:
      Pattern: (^auto$)|(^0$)|(^90$)|(^180$)|(^270$)

      戻り値:
        The number of degrees clockwise by which you want Elastic Transcoder to rotate the output relative to the input. Enter one of the following values: `auto`, `0`, `90`, `180`, `270`. The value `auto` generally works only if the file that you're transcoding contains rotation metadata.

    - #### setRotate

          public void setRotate(java.lang.String rotate)

      The number of degrees clockwise by which you want Elastic Transcoder to rotate the output relative to the input. Enter one of the following values: `auto`, `0`, `90`, `180`, `270`. The value `auto` generally works only if the file that you're transcoding contains rotation metadata.

      Constraints:
      Pattern: (^auto$)|(^0$)|(^90$)|(^180$)|(^270$)

      パラメータ:
        `rotate` - The number of degrees clockwise by which you want Elastic Transcoder to rotate the output relative to the input. Enter one of the following values: `auto`, `0`, `90`, `180`, `270`. The value `auto` generally works only if the file that you're transcoding contains rotation metadata.

    - #### withRotate

          public CreateJobOutput withRotate(java.lang.String rotate)

      The number of degrees clockwise by which you want Elastic Transcoder to rotate the output relative to the input. Enter one of the following values: `auto`, `0`, `90`, `180`, `270`. The value `auto` generally works only if the file that you're transcoding contains rotation metadata.

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

      Constraints:
      Pattern: (^auto$)|(^0$)|(^90$)|(^180$)|(^270$)

      パラメータ:
        `rotate` - The number of degrees clockwise by which you want Elastic Transcoder to rotate the output relative to the input. Enter one of the following values: `auto`, `0`, `90`, `180`, `270`. The value `auto` generally works only if the file that you're transcoding contains rotation metadata.

    - #### getPresetId

          public java.lang.String getPresetId()

      The `Id` of the preset to use for this job. The preset determines the audio, video, and thumbnail settings that Elastic Transcoder uses for transcoding.

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

      戻り値:
        The `Id` of the preset to use for this job. The preset determines the audio, video, and thumbnail settings that Elastic Transcoder uses for transcoding.

    - #### setPresetId

          public void setPresetId(java.lang.String presetId)

      The `Id` of the preset to use for this job. The preset determines the audio, video, and thumbnail settings that Elastic Transcoder uses for transcoding.

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

      パラメータ:
        `presetId` - The `Id` of the preset to use for this job. The preset determines the audio, video, and thumbnail settings that Elastic Transcoder uses for transcoding.

    - #### withPresetId

          public CreateJobOutput withPresetId(java.lang.String presetId)

      The `Id` of the preset to use for this job. The preset determines the audio, video, and thumbnail settings that Elastic Transcoder uses for transcoding.

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

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

      パラメータ:
        `presetId` - The `Id` of the preset to use for this job. The preset determines the audio, video, and thumbnail settings that Elastic Transcoder uses for transcoding.

    - #### getSegmentDuration

          public java.lang.String getSegmentDuration()

      If you specify a preset in `PresetId` for which the value of `Container` is ts (MPEG-TS), SegmentDuration is the duration of each .ts file in seconds. The range of valid values is 1 to 60 seconds.

      Constraints:
      Pattern: ^\d{1,5}([.]\d{0,5})?$

      戻り値:
        If you specify a preset in `PresetId` for which the value of `Container` is ts (MPEG-TS), SegmentDuration is the duration of each .ts file in seconds. The range of valid values is 1 to 60 seconds.

    - #### setSegmentDuration

          public void setSegmentDuration(java.lang.String segmentDuration)

      If you specify a preset in `PresetId` for which the value of `Container` is ts (MPEG-TS), SegmentDuration is the duration of each .ts file in seconds. The range of valid values is 1 to 60 seconds.

      Constraints:
      Pattern: ^\d{1,5}([.]\d{0,5})?$

      パラメータ:
        `segmentDuration` - If you specify a preset in `PresetId` for which the value of `Container` is ts (MPEG-TS), SegmentDuration is the duration of each .ts file in seconds. The range of valid values is 1 to 60 seconds.

    - #### withSegmentDuration

          public CreateJobOutput withSegmentDuration(java.lang.String segmentDuration)

      If you specify a preset in `PresetId` for which the value of `Container` is ts (MPEG-TS), SegmentDuration is the duration of each .ts file in seconds. The range of valid values is 1 to 60 seconds.

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

      Constraints:
      Pattern: ^\d{1,5}([.]\d{0,5})?$

      パラメータ:
        `segmentDuration` - If you specify a preset in `PresetId` for which the value of `Container` is ts (MPEG-TS), SegmentDuration is the duration of each .ts file in seconds. The range of valid values is 1 to 60 seconds.

    - #### getWatermarks

          public java.util.List<JobWatermark> getWatermarks()

      Information about the watermarks that you want Elastic Transcoder to add to the video during transcoding. You can specify up to four watermarks for each output. Settings for each watermark must be defined in the preset for the current output.
      戻り値:
        Information about the watermarks that you want Elastic Transcoder to add to the video during transcoding. You can specify up to four watermarks for each output. Settings for each watermark must be defined in the preset for the current output.

    - #### setWatermarks

          public void setWatermarks(java.util.Collection<JobWatermark> watermarks)

      Information about the watermarks that you want Elastic Transcoder to add to the video during transcoding. You can specify up to four watermarks for each output. Settings for each watermark must be defined in the preset for the current output.
      パラメータ:
        `watermarks` - Information about the watermarks that you want Elastic Transcoder to add to the video during transcoding. You can specify up to four watermarks for each output. Settings for each watermark must be defined in the preset for the current output.

    - #### withWatermarks

          public CreateJobOutput withWatermarks(JobWatermark... watermarks)

      Information about the watermarks that you want Elastic Transcoder to add to the video during transcoding. You can specify up to four watermarks for each output. Settings for each watermark must be defined in the preset for the current output.

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

      パラメータ:
        `watermarks` - Information about the watermarks that you want Elastic Transcoder to add to the video during transcoding. You can specify up to four watermarks for each output. Settings for each watermark must be defined in the preset for the current output.

    - #### withWatermarks

          public CreateJobOutput withWatermarks(java.util.Collection<JobWatermark> watermarks)

      Information about the watermarks that you want Elastic Transcoder to add to the video during transcoding. You can specify up to four watermarks for each output. Settings for each watermark must be defined in the preset for the current output.

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

      パラメータ:
        `watermarks` - Information about the watermarks that you want Elastic Transcoder to add to the video during transcoding. You can specify up to four watermarks for each output. Settings for each watermark must be defined in the preset for the current output.

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