All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.videoanalyzer.inputs.AudioEncoderAacArgs Maven / Gradle / Ivy

There is a newer version: 2.82.0
Show newest version
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.azurenative.videoanalyzer.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.core.internal.Codegen;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * A custom preset for encoding audio with the AAC codec.
 * 
 */
public final class AudioEncoderAacArgs extends com.pulumi.resources.ResourceArgs {

    public static final AudioEncoderAacArgs Empty = new AudioEncoderAacArgs();

    /**
     * Bitrate, in kilobits per second or Kbps, at which audio should be encoded (2-channel stereo audio at a sampling rate of 48 kHz). Allowed values are 96, 112, 128, 160, 192, 224, and 256. If omitted, the bitrate of the input audio is used.
     * 
     */
    @Import(name="bitrateKbps")
    private @Nullable Output bitrateKbps;

    /**
     * @return Bitrate, in kilobits per second or Kbps, at which audio should be encoded (2-channel stereo audio at a sampling rate of 48 kHz). Allowed values are 96, 112, 128, 160, 192, 224, and 256. If omitted, the bitrate of the input audio is used.
     * 
     */
    public Optional> bitrateKbps() {
        return Optional.ofNullable(this.bitrateKbps);
    }

    /**
     * The discriminator for derived types.
     * Expected value is '#Microsoft.VideoAnalyzer.AudioEncoderAac'.
     * 
     */
    @Import(name="type", required=true)
    private Output type;

    /**
     * @return The discriminator for derived types.
     * Expected value is '#Microsoft.VideoAnalyzer.AudioEncoderAac'.
     * 
     */
    public Output type() {
        return this.type;
    }

    private AudioEncoderAacArgs() {}

    private AudioEncoderAacArgs(AudioEncoderAacArgs $) {
        this.bitrateKbps = $.bitrateKbps;
        this.type = $.type;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(AudioEncoderAacArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private AudioEncoderAacArgs $;

        public Builder() {
            $ = new AudioEncoderAacArgs();
        }

        public Builder(AudioEncoderAacArgs defaults) {
            $ = new AudioEncoderAacArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param bitrateKbps Bitrate, in kilobits per second or Kbps, at which audio should be encoded (2-channel stereo audio at a sampling rate of 48 kHz). Allowed values are 96, 112, 128, 160, 192, 224, and 256. If omitted, the bitrate of the input audio is used.
         * 
         * @return builder
         * 
         */
        public Builder bitrateKbps(@Nullable Output bitrateKbps) {
            $.bitrateKbps = bitrateKbps;
            return this;
        }

        /**
         * @param bitrateKbps Bitrate, in kilobits per second or Kbps, at which audio should be encoded (2-channel stereo audio at a sampling rate of 48 kHz). Allowed values are 96, 112, 128, 160, 192, 224, and 256. If omitted, the bitrate of the input audio is used.
         * 
         * @return builder
         * 
         */
        public Builder bitrateKbps(String bitrateKbps) {
            return bitrateKbps(Output.of(bitrateKbps));
        }

        /**
         * @param type The discriminator for derived types.
         * Expected value is '#Microsoft.VideoAnalyzer.AudioEncoderAac'.
         * 
         * @return builder
         * 
         */
        public Builder type(Output type) {
            $.type = type;
            return this;
        }

        /**
         * @param type The discriminator for derived types.
         * Expected value is '#Microsoft.VideoAnalyzer.AudioEncoderAac'.
         * 
         * @return builder
         * 
         */
        public Builder type(String type) {
            return type(Output.of(type));
        }

        public AudioEncoderAacArgs build() {
            $.type = Codegen.stringProp("type").output().arg($.type).require();
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy