Interface Mp3Settings.Builder

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

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

    • bitrate

      Mp3Settings.Builder bitrate(Integer bitrate)
      Specify the average bitrate in bits per second.
      Parameters:
      bitrate - Specify the average bitrate in bits per second.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • channels

      Mp3Settings.Builder channels(Integer channels)
      Specify the number of channels in this output audio track. Choosing Mono gives you 1 output channel; choosing Stereo gives you 2. In the API, valid values are 1 and 2.
      Parameters:
      channels - Specify the number of channels in this output audio track. Choosing Mono gives you 1 output channel; choosing Stereo gives you 2. In the API, valid values are 1 and 2.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • rateControlMode

      Mp3Settings.Builder rateControlMode(String rateControlMode)
      Specify whether the service encodes this MP3 audio output with a constant bitrate (CBR) or a variable bitrate (VBR).
      Parameters:
      rateControlMode - Specify whether the service encodes this MP3 audio output with a constant bitrate (CBR) or a variable bitrate (VBR).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • rateControlMode

      Mp3Settings.Builder rateControlMode(Mp3RateControlMode rateControlMode)
      Specify whether the service encodes this MP3 audio output with a constant bitrate (CBR) or a variable bitrate (VBR).
      Parameters:
      rateControlMode - Specify whether the service encodes this MP3 audio output with a constant bitrate (CBR) or a variable bitrate (VBR).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sampleRate

      Mp3Settings.Builder sampleRate(Integer sampleRate)
      Sample rate in Hz.
      Parameters:
      sampleRate - Sample rate in Hz.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vbrQuality

      Mp3Settings.Builder vbrQuality(Integer vbrQuality)
      Required when you set Bitrate control mode to VBR. Specify the audio quality of this MP3 output from 0 (highest quality) to 9 (lowest quality).
      Parameters:
      vbrQuality - Required when you set Bitrate control mode to VBR. Specify the audio quality of this MP3 output from 0 (highest quality) to 9 (lowest quality).
      Returns:
      Returns a reference to this object so that method calls can be chained together.