All Superinterfaces:
Buildable, CopyableBuilder<Preset.Builder,Preset>, SdkBuilder<Preset.Builder,Preset>, SdkPojo
Enclosing class:
Preset

public static interface Preset.Builder extends SdkPojo, CopyableBuilder<Preset.Builder,Preset>
  • Method Details

    • id

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

      Parameters:
      id - Identifier for the new preset. You use this value to get settings for the preset or to delete it.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • arn

      The Amazon Resource Name (ARN) for the preset.

      Parameters:
      arn - The Amazon Resource Name (ARN) for the preset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      Preset.Builder name(String name)

      The name of the preset.

      Parameters:
      name - The name of the preset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      Preset.Builder description(String description)

      A description of the preset.

      Parameters:
      description - A description of the preset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • container

      Preset.Builder container(String container)

      The container type for the output file. Valid values include flac, flv, fmp4, gif, mp3, mp4, mpg, mxf, oga, ogg, ts, and webm.

      Parameters:
      container - The container type for the output file. Valid values include flac, flv, fmp4, gif, mp3, mp4, mpg, mxf, oga, ogg, ts, and webm.
      Returns:
      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.

      Parameters:
      audio - A section of the response body that provides information about the audio preset values.
      Returns:
      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.

      This is a convenience method that creates an instance of the AudioParameters.Builder avoiding the need to create one manually via AudioParameters.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to audio(AudioParameters).

      Parameters:
      audio - a consumer that will call methods on AudioParameters.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • video

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

      Parameters:
      video - A section of the response body that provides information about the video preset values.
      Returns:
      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.

      This is a convenience method that creates an instance of the VideoParameters.Builder avoiding the need to create one manually via VideoParameters.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to video(VideoParameters).

      Parameters:
      video - a consumer that will call methods on VideoParameters.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • thumbnails

      Preset.Builder thumbnails(Thumbnails thumbnails)

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

      Parameters:
      thumbnails - A section of the response body that provides information about the thumbnail preset values, if any.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • thumbnails

      default Preset.Builder thumbnails(Consumer<Thumbnails.Builder> thumbnails)

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

      This is a convenience method that creates an instance of the Thumbnails.Builder avoiding the need to create one manually via Thumbnails.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to thumbnails(Thumbnails).

      Parameters:
      thumbnails - a consumer that will call methods on Thumbnails.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      Preset.Builder type(String type)

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

      Parameters:
      type - Whether the preset is a default preset provided by Elastic Transcoder (System) or a preset that you have defined (Custom).
      Returns:
      Returns a reference to this object so that method calls can be chained together.