Interface Preset.Builder

    • Method Detail

      • id

        Preset.Builder id​(String 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

        Preset.Builder arn​(String 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

        Preset.Builder audio​(AudioParameters 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.
      • video

        Preset.Builder video​(VideoParameters 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.
      • 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.
      • 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.