com.amazonaws.services.elastictranscoder.model

## クラス JobWatermark

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

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

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

  Watermarks can be in .png or .jpg format. If you want to display a watermark that is not rectangular, use the .png format, which supports transparency.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getInputKey()` The name of the .png or .jpg file that you want to use for the watermark.
    `java.lang.String` | `getPresetWatermarkId()` The ID of the watermark settings that Elastic Transcoder uses to add watermarks to the video during transcoding.
    `int` | `hashCode()`
    `void` | `setInputKey(java.lang.String inputKey)` The name of the .png or .jpg file that you want to use for the watermark.
    `void` | `setPresetWatermarkId(java.lang.String presetWatermarkId)` The ID of the watermark settings that Elastic Transcoder uses to add watermarks to the video during transcoding.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `JobWatermark` | `withInputKey(java.lang.String inputKey)` The name of the .png or .jpg file that you want to use for the watermark.
    `JobWatermark` | `withPresetWatermarkId(java.lang.String presetWatermarkId)` The ID of the watermark settings that Elastic Transcoder uses to add watermarks to the video during transcoding.

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

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

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

    - #### JobWatermark

          public JobWatermark()

  - ### メソッドの詳細

    - #### getPresetWatermarkId

          public java.lang.String getPresetWatermarkId()

      The ID of the watermark settings that Elastic Transcoder uses to add watermarks to the video during transcoding. The settings are in the preset specified by Preset for the current output. In that preset, the value of Watermarks Id tells Elastic Transcoder which settings to use.

      Constraints:
      Length: 1 - 40

      戻り値:
        The ID of the watermark settings that Elastic Transcoder uses to add watermarks to the video during transcoding. The settings are in the preset specified by Preset for the current output. In that preset, the value of Watermarks Id tells Elastic Transcoder which settings to use.

    - #### setPresetWatermarkId

          public void setPresetWatermarkId(java.lang.String presetWatermarkId)

      The ID of the watermark settings that Elastic Transcoder uses to add watermarks to the video during transcoding. The settings are in the preset specified by Preset for the current output. In that preset, the value of Watermarks Id tells Elastic Transcoder which settings to use.

      Constraints:
      Length: 1 - 40

      パラメータ:
        `presetWatermarkId` - The ID of the watermark settings that Elastic Transcoder uses to add watermarks to the video during transcoding. The settings are in the preset specified by Preset for the current output. In that preset, the value of Watermarks Id tells Elastic Transcoder which settings to use.

    - #### withPresetWatermarkId

          public JobWatermark withPresetWatermarkId(java.lang.String presetWatermarkId)

      The ID of the watermark settings that Elastic Transcoder uses to add watermarks to the video during transcoding. The settings are in the preset specified by Preset for the current output. In that preset, the value of Watermarks Id tells Elastic Transcoder which settings to use.

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

      Constraints:
      Length: 1 - 40

      パラメータ:
        `presetWatermarkId` - The ID of the watermark settings that Elastic Transcoder uses to add watermarks to the video during transcoding. The settings are in the preset specified by Preset for the current output. In that preset, the value of Watermarks Id tells Elastic Transcoder which settings to use.

    - #### getInputKey

          public java.lang.String getInputKey()

      The name of the .png or .jpg file that you want to use for the watermark. To determine which Amazon S3 bucket contains the specified file, Elastic Transcoder checks the pipeline specified by `Pipeline`; the `Input Bucket` object in that pipeline identifies the bucket.

      If the file name includes a prefix, for example, logos/128x64.png, include the prefix in the key. If the file isn't in the specified bucket, Elastic Transcoder returns an error.

      Constraints:
      Length: 1 - 255
      Pattern: (^.{1,}.jpg$)|(^.{1,}.jpeg$)|(^.{1,}.png$)

      戻り値:
        The name of the .png or .jpg file that you want to use for the watermark. To determine which Amazon S3 bucket contains the specified file, Elastic Transcoder checks the pipeline specified by `Pipeline`; the `Input Bucket` object in that pipeline identifies the bucket.

        If the file name includes a prefix, for example, logos/128x64.png, include the prefix in the key. If the file isn't in the specified bucket, Elastic Transcoder returns an error.

    - #### setInputKey

          public void setInputKey(java.lang.String inputKey)

      The name of the .png or .jpg file that you want to use for the watermark. To determine which Amazon S3 bucket contains the specified file, Elastic Transcoder checks the pipeline specified by `Pipeline`; the `Input Bucket` object in that pipeline identifies the bucket.

      If the file name includes a prefix, for example, logos/128x64.png, include the prefix in the key. If the file isn't in the specified bucket, Elastic Transcoder returns an error.

      Constraints:
      Length: 1 - 255
      Pattern: (^.{1,}.jpg$)|(^.{1,}.jpeg$)|(^.{1,}.png$)

      パラメータ:
        `inputKey` - The name of the .png or .jpg file that you want to use for the watermark. To determine which Amazon S3 bucket contains the specified file, Elastic Transcoder checks the pipeline specified by `Pipeline`; the `Input Bucket` object in that pipeline identifies the bucket.

        If the file name includes a prefix, for example, logos/128x64.png, include the prefix in the key. If the file isn't in the specified bucket, Elastic Transcoder returns an error.

    - #### withInputKey

          public JobWatermark withInputKey(java.lang.String inputKey)

      The name of the .png or .jpg file that you want to use for the watermark. To determine which Amazon S3 bucket contains the specified file, Elastic Transcoder checks the pipeline specified by `Pipeline`; the `Input Bucket` object in that pipeline identifies the bucket.

      If the file name includes a prefix, for example, logos/128x64.png, 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
      Pattern: (^.{1,}.jpg$)|(^.{1,}.jpeg$)|(^.{1,}.png$)

      パラメータ:
        `inputKey` - The name of the .png or .jpg file that you want to use for the watermark. To determine which Amazon S3 bucket contains the specified file, Elastic Transcoder checks the pipeline specified by `Pipeline`; the `Input Bucket` object in that pipeline identifies the bucket.

        If the file name includes a prefix, for example, logos/128x64.png, include the prefix in the key. If the file isn't in the specified bucket, Elastic Transcoder returns an 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`