com.amazonaws.services.elastictranscoder.model

## クラス CreatePresetRequest

- java.lang.Object
- - com.amazonaws.AmazonWebServiceRequest
  - - com.amazonaws.services.elastictranscoder.model.CreatePresetRequest

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

      public class CreatePresetRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `CreatePreset operation`.

  The CreatePreset operation creates a preset with settings that you specify.

  IMPORTANT:Elastic Transcoder checks the CreatePreset settings to ensure that they meet Elastic Transcoder requirements and to determine whether they comply with H.264 standards. If your settings are not valid for Elastic Transcoder, Elastic Transcoder returns an HTTP 400 response (ValidationException) and does not create the preset. If the settings are valid for Elastic Transcoder but aren't strictly compliant with the H.264 standard, Elastic Transcoder creates the preset and returns a warning message in the response. This helps you determine whether your settings comply with the H.264 standard while giving you greater flexibility with respect to the video that Elastic Transcoder produces.

  Elastic Transcoder uses the H.264 video-compression format. For more information, see the International Telecommunication Union publication Recommendation ITU-T H.264: Advanced video coding for generic audiovisual services .

  関連項目:
    `AmazonElasticTranscoder.createPreset(CreatePresetRequest)`, 直列化された形式

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `AudioParameters` | `getAudio()` A section of the request body that specifies the audio parameters.
    `java.lang.String` | `getContainer()` The container type for the output file.
    `java.lang.String` | `getDescription()` A description of the preset.
    `java.lang.String` | `getName()` The name of the preset.
    `Thumbnails` | `getThumbnails()` A section of the request body that specifies the thumbnail parameters, if any.
    `VideoParameters` | `getVideo()` A section of the request body that specifies the video parameters.
    `int` | `hashCode()`
    `void` | `setAudio(AudioParameters audio)` A section of the request body that specifies the audio parameters.
    `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` | `setName(java.lang.String name)` The name of the preset.
    `void` | `setThumbnails(Thumbnails thumbnails)` A section of the request body that specifies the thumbnail parameters, if any.
    `void` | `setVideo(VideoParameters video)` A section of the request body that specifies the video parameters.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `CreatePresetRequest` | `withAudio(AudioParameters audio)` A section of the request body that specifies the audio parameters.
    `CreatePresetRequest` | `withContainer(java.lang.String container)` The container type for the output file.
    `CreatePresetRequest` | `withDescription(java.lang.String description)` A description of the preset.
    `CreatePresetRequest` | `withName(java.lang.String name)` The name of the preset.
    `CreatePresetRequest` | `withThumbnails(Thumbnails thumbnails)` A section of the request body that specifies the thumbnail parameters, if any.
    `CreatePresetRequest` | `withVideo(VideoParameters video)` A section of the request body that specifies the video parameters.

    - ### クラスから継承されたメソッド com.amazonaws.AmazonWebServiceRequest

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### CreatePresetRequest

          public CreatePresetRequest()

  - ### メソッドの詳細

    - #### getName

          public java.lang.String getName()

      The name of the preset. We recommend that the name be unique within the AWS account, but uniqueness is not enforced.

      Constraints:
      Length: 1 - 40

      戻り値:
        The name of the preset. We recommend that the name be unique within the AWS account, but uniqueness is not enforced.

    - #### setName

          public void setName(java.lang.String name)

      The name of the preset. We recommend that the name be unique within the AWS account, but uniqueness is not enforced.

      Constraints:
      Length: 1 - 40

      パラメータ:
        `name` - The name of the preset. We recommend that the name be unique within the AWS account, but uniqueness is not enforced.

    - #### withName

          public CreatePresetRequest withName(java.lang.String name)

      The name of the preset. We recommend that the name be unique within the AWS account, but uniqueness is not enforced.

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

      Constraints:
      Length: 1 - 40

      パラメータ:
        `name` - The name of the preset. We recommend that the name be unique within the AWS account, but uniqueness is not enforced.

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

    - #### getVideo

          public VideoParameters getVideo()

      A section of the request body that specifies the video parameters.
      戻り値:
        A section of the request body that specifies the video parameters.

    - #### setVideo

          public void setVideo(VideoParameters video)

      A section of the request body that specifies the video parameters.
      パラメータ:
        `video` - A section of the request body that specifies the video parameters.

    - #### withVideo

          public CreatePresetRequest withVideo(VideoParameters video)

      A section of the request body that specifies the video parameters.

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

      パラメータ:
        `video` - A section of the request body that specifies the video parameters.

    - #### getAudio

          public AudioParameters getAudio()

      A section of the request body that specifies the audio parameters.
      戻り値:
        A section of the request body that specifies the audio parameters.

    - #### setAudio

          public void setAudio(AudioParameters audio)

      A section of the request body that specifies the audio parameters.
      パラメータ:
        `audio` - A section of the request body that specifies the audio parameters.

    - #### withAudio

          public CreatePresetRequest withAudio(AudioParameters audio)

      A section of the request body that specifies the audio parameters.

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

      パラメータ:
        `audio` - A section of the request body that specifies the audio parameters.

    - #### getThumbnails

          public Thumbnails getThumbnails()

      A section of the request body that specifies the thumbnail parameters, if any.
      戻り値:
        A section of the request body that specifies the thumbnail parameters, if any.

    - #### setThumbnails

          public void setThumbnails(Thumbnails thumbnails)

      A section of the request body that specifies the thumbnail parameters, if any.
      パラメータ:
        `thumbnails` - A section of the request body that specifies the thumbnail parameters, if any.

    - #### withThumbnails

          public CreatePresetRequest withThumbnails(Thumbnails thumbnails)

      A section of the request body that specifies the thumbnail parameters, if any.

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

      パラメータ:
        `thumbnails` - A section of the request body that specifies the thumbnail parameters, if any.

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