com.amazonaws.services.elastictranscoder.model

## クラス Preset

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

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

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

  Presets are templates that contain most of the settings for transcoding media files from one format to another. Elastic Transcoder includes some default presets for common formats, for example, several iPod and iPhone versions. You can also create your own presets for formats that aren't included among the default presets. You specify which preset you want to use when you create a job.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `AudioParameters` | `getAudio()` A section of the response body that provides information about the audio preset values.
    `java.lang.String` | `getContainer()` The container type for the output file.
    `java.lang.String` | `getDescription()` A description of the preset.
    `java.lang.String` | `getId()` Identifier for the new preset.
    `java.lang.String` | `getName()` The name of the preset.
    `Thumbnails` | `getThumbnails()` A section of the response body that provides information about the thumbnail preset values, if any.
    `java.lang.String` | `getType()` Whether the preset is a default preset provided by Elastic Transcoder (`System`) or a preset that you have defined (`Custom`).
    `VideoParameters` | `getVideo()` A section of the response body that provides information about the video preset values.
    `int` | `hashCode()`
    `void` | `setAudio(AudioParameters audio)` A section of the response body that provides information about the audio preset values.
    `void` | `setContainer(java.lang.String container)` The container type for the output file.
    `void` | `setDescription(java.lang.String description)` A description of the preset.
    `void` | `setId(java.lang.String id)` Identifier for the new preset.
    `void` | `setName(java.lang.String name)` The name of the preset.
    `void` | `setThumbnails(Thumbnails thumbnails)` A section of the response body that provides information about the thumbnail preset values, if any.
    `void` | `setType(java.lang.String type)` Whether the preset is a default preset provided by Elastic Transcoder (`System`) or a preset that you have defined (`Custom`).
    `void` | `setVideo(VideoParameters video)` A section of the response body that provides information about the video preset values.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `Preset` | `withAudio(AudioParameters audio)` A section of the response body that provides information about the audio preset values.
    `Preset` | `withContainer(java.lang.String container)` The container type for the output file.
    `Preset` | `withDescription(java.lang.String description)` A description of the preset.
    `Preset` | `withId(java.lang.String id)` Identifier for the new preset.
    `Preset` | `withName(java.lang.String name)` The name of the preset.
    `Preset` | `withThumbnails(Thumbnails thumbnails)` A section of the response body that provides information about the thumbnail preset values, if any.
    `Preset` | `withType(java.lang.String type)` Whether the preset is a default preset provided by Elastic Transcoder (`System`) or a preset that you have defined (`Custom`).
    `Preset` | `withVideo(VideoParameters video)` A section of the response body that provides information about the video preset values.

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

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

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

    - #### Preset

          public Preset()

  - ### メソッドの詳細

    - #### getId

          public java.lang.String getId()

      Identifier for the new preset. You use this value to get settings for the preset or to delete it.

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

      戻り値:
        Identifier for the new preset. You use this value to get settings for the preset or to delete it.

    - #### setId

          public void setId(java.lang.String id)

      Identifier for the new preset. You use this value to get settings for the preset or to delete it.

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

      パラメータ:
        `id` - Identifier for the new preset. You use this value to get settings for the preset or to delete it.

    - #### withId

          public Preset withId(java.lang.String id)

      Identifier for the new preset. You use this value to get settings for the preset or to delete it.

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

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

      パラメータ:
        `id` - Identifier for the new preset. You use this value to get settings for the preset or to delete it.

    - #### getName

          public java.lang.String getName()

      The name of the preset.

      Constraints:
      Length: 1 - 40

      戻り値:
        The name of the preset.

    - #### setName

          public void setName(java.lang.String name)

      The name of the preset.

      Constraints:
      Length: 1 - 40

      パラメータ:
        `name` - The name of the preset.

    - #### withName

          public Preset withName(java.lang.String name)

      The name of the preset.

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

      Constraints:
      Length: 1 - 40

      パラメータ:
        `name` - The name of the preset.

    - #### getDescription

          public java.lang.String getDescription()

      A description of the preset.

      Constraints:
      Length: 0 - 255

      戻り値:
        A description of the preset.

    - #### setDescription

          public void setDescription(java.lang.String description)

      A description of the preset.

      Constraints:
      Length: 0 - 255

      パラメータ:
        `description` - A description of the preset.

    - #### withDescription

          public Preset withDescription(java.lang.String description)

      A description of the preset.

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

      Constraints:
      Length: 0 - 255

      パラメータ:
        `description` - A description of the preset.

    - #### getContainer

          public java.lang.String getContainer()

      The container type for the output file. This value must be `mp4`.

      Constraints:
      Pattern: (^mp4$)|(^ts$)|(^webm$)

      戻り値:
        The container type for the output file. This value must be `mp4`.

    - #### setContainer

          public void setContainer(java.lang.String container)

      The container type for the output file. This value must be `mp4`.

      Constraints:
      Pattern: (^mp4$)|(^ts$)|(^webm$)

      パラメータ:
        `container` - The container type for the output file. This value must be `mp4`.

    - #### withContainer

          public Preset withContainer(java.lang.String container)

      The container type for the output file. This value must be `mp4`.

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

      Constraints:
      Pattern: (^mp4$)|(^ts$)|(^webm$)

      パラメータ:
        `container` - The container type for the output file. This value must be `mp4`.

    - #### getAudio

          public AudioParameters getAudio()

      A section of the response body that provides information about the audio preset values.
      戻り値:
        A section of the response body that provides information about the audio preset values.

    - #### setAudio

          public void setAudio(AudioParameters audio)

      A section of the response body that provides information about the audio preset values.
      パラメータ:
        `audio` - A section of the response body that provides information about the audio preset values.

    - #### withAudio

          public Preset withAudio(AudioParameters audio)

      A section of the response body that provides information about the audio preset values.

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

      パラメータ:
        `audio` - A section of the response body that provides information about the audio preset values.

    - #### getVideo

          public VideoParameters getVideo()

      A section of the response body that provides information about the video preset values.
      戻り値:
        A section of the response body that provides information about the video preset values.

    - #### setVideo

          public void setVideo(VideoParameters video)

      A section of the response body that provides information about the video preset values.
      パラメータ:
        `video` - A section of the response body that provides information about the video preset values.

    - #### withVideo

          public Preset withVideo(VideoParameters video)

      A section of the response body that provides information about the video preset values.

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

      パラメータ:
        `video` - A section of the response body that provides information about the video preset values.

    - #### getThumbnails

          public Thumbnails getThumbnails()

      A section of the response body that provides information about the thumbnail preset values, if any.
      戻り値:
        A section of the response body that provides information about the thumbnail preset values, if any.

    - #### setThumbnails

          public void setThumbnails(Thumbnails thumbnails)

      A section of the response body that provides information about the thumbnail preset values, if any.
      パラメータ:
        `thumbnails` - A section of the response body that provides information about the thumbnail preset values, if any.

    - #### withThumbnails

          public Preset withThumbnails(Thumbnails thumbnails)

      A section of the response body that provides information about the thumbnail preset values, if any.

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

      パラメータ:
        `thumbnails` - A section of the response body that provides information about the thumbnail preset values, if any.

    - #### getType

          public java.lang.String getType()

      Whether the preset is a default preset provided by Elastic Transcoder (`System`) or a preset that you have defined (`Custom`).

      Constraints:
      Pattern: (^System$)|(^Custom$)

      戻り値:
        Whether the preset is a default preset provided by Elastic Transcoder (`System`) or a preset that you have defined (`Custom`).

    - #### setType

          public void setType(java.lang.String type)

      Whether the preset is a default preset provided by Elastic Transcoder (`System`) or a preset that you have defined (`Custom`).

      Constraints:
      Pattern: (^System$)|(^Custom$)

      パラメータ:
        `type` - Whether the preset is a default preset provided by Elastic Transcoder (`System`) or a preset that you have defined (`Custom`).

    - #### withType

          public Preset withType(java.lang.String type)

      Whether the preset is a default preset provided by Elastic Transcoder (`System`) or a preset that you have defined (`Custom`).

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

      Constraints:
      Pattern: (^System$)|(^Custom$)

      パラメータ:
        `type` - Whether the preset is a default preset provided by Elastic Transcoder (`System`) or a preset that you have defined (`Custom`).

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