Class PresetAudioArgs.Builder

  • Enclosing class:
    PresetAudioArgs

    public static final class PresetAudioArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • audioPackingMode

        public PresetAudioArgs.Builder audioPackingMode​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> audioPackingMode)
        Parameters:
        audioPackingMode - The method of organizing audio channels and tracks. Use Audio:Channels to specify the number of channels in your output, and Audio:AudioPackingMode to specify the number of tracks and their relation to the channels. If you do not specify an Audio:AudioPackingMode, Elastic Transcoder uses SingleTrack.
        Returns:
        builder
      • audioPackingMode

        public PresetAudioArgs.Builder audioPackingMode​(java.lang.String audioPackingMode)
        Parameters:
        audioPackingMode - The method of organizing audio channels and tracks. Use Audio:Channels to specify the number of channels in your output, and Audio:AudioPackingMode to specify the number of tracks and their relation to the channels. If you do not specify an Audio:AudioPackingMode, Elastic Transcoder uses SingleTrack.
        Returns:
        builder
      • bitRate

        public PresetAudioArgs.Builder bitRate​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> bitRate)
        Parameters:
        bitRate - The bit rate of the audio stream in the output file, in kilobits/second. Enter an integer between 64 and 320, inclusive.
        Returns:
        builder
      • bitRate

        public PresetAudioArgs.Builder bitRate​(java.lang.String bitRate)
        Parameters:
        bitRate - The bit rate of the audio stream in the output file, in kilobits/second. Enter an integer between 64 and 320, inclusive.
        Returns:
        builder
      • channels

        public PresetAudioArgs.Builder channels​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> channels)
        Parameters:
        channels - The number of audio channels in the output file
        Returns:
        builder
      • channels

        public PresetAudioArgs.Builder channels​(java.lang.String channels)
        Parameters:
        channels - The number of audio channels in the output file
        Returns:
        builder
      • codec

        public PresetAudioArgs.Builder codec​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> codec)
        Parameters:
        codec - The audio codec for the output file. Valid values are `AAC`, `flac`, `mp2`, `mp3`, `pcm`, and `vorbis`.
        Returns:
        builder
      • codec

        public PresetAudioArgs.Builder codec​(java.lang.String codec)
        Parameters:
        codec - The audio codec for the output file. Valid values are `AAC`, `flac`, `mp2`, `mp3`, `pcm`, and `vorbis`.
        Returns:
        builder
      • sampleRate

        public PresetAudioArgs.Builder sampleRate​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> sampleRate)
        Parameters:
        sampleRate - The sample rate of the audio stream in the output file, in hertz. Valid values are: `auto`, `22050`, `32000`, `44100`, `48000`, `96000`
        Returns:
        builder
      • sampleRate

        public PresetAudioArgs.Builder sampleRate​(java.lang.String sampleRate)
        Parameters:
        sampleRate - The sample rate of the audio stream in the output file, in hertz. Valid values are: `auto`, `22050`, `32000`, `44100`, `48000`, `96000`
        Returns:
        builder