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

com.pulumi.aws.medialive.outputs.ChannelEncoderSettingsAudioDescriptionCodecSettingsAacSettings Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.66.3
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.aws.medialive.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.Double;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class ChannelEncoderSettingsAudioDescriptionCodecSettingsAacSettings {
    /**
     * @return Average bitrate in bits/second.
     * 
     */
    private @Nullable Double bitrate;
    /**
     * @return Mono, Stereo, or 5.1 channel layout.
     * 
     */
    private @Nullable String codingMode;
    /**
     * @return Set to "broadcasterMixedAd" when input contains pre-mixed main audio + AD (narration) as a stereo pair.
     * 
     */
    private @Nullable String inputType;
    /**
     * @return AAC profile.
     * 
     */
    private @Nullable String profile;
    /**
     * @return The rate control mode.
     * 
     */
    private @Nullable String rateControlMode;
    /**
     * @return Sets LATM/LOAS AAC output for raw containers.
     * 
     */
    private @Nullable String rawFormat;
    /**
     * @return Sample rate in Hz.
     * 
     */
    private @Nullable Double sampleRate;
    /**
     * @return Use MPEG-2 AAC audio instead of MPEG-4 AAC audio for raw or MPEG-2 Transport Stream containers.
     * 
     */
    private @Nullable String spec;
    /**
     * @return VBR Quality Level - Only used if rateControlMode is VBR.
     * 
     */
    private @Nullable String vbrQuality;

    private ChannelEncoderSettingsAudioDescriptionCodecSettingsAacSettings() {}
    /**
     * @return Average bitrate in bits/second.
     * 
     */
    public Optional bitrate() {
        return Optional.ofNullable(this.bitrate);
    }
    /**
     * @return Mono, Stereo, or 5.1 channel layout.
     * 
     */
    public Optional codingMode() {
        return Optional.ofNullable(this.codingMode);
    }
    /**
     * @return Set to "broadcasterMixedAd" when input contains pre-mixed main audio + AD (narration) as a stereo pair.
     * 
     */
    public Optional inputType() {
        return Optional.ofNullable(this.inputType);
    }
    /**
     * @return AAC profile.
     * 
     */
    public Optional profile() {
        return Optional.ofNullable(this.profile);
    }
    /**
     * @return The rate control mode.
     * 
     */
    public Optional rateControlMode() {
        return Optional.ofNullable(this.rateControlMode);
    }
    /**
     * @return Sets LATM/LOAS AAC output for raw containers.
     * 
     */
    public Optional rawFormat() {
        return Optional.ofNullable(this.rawFormat);
    }
    /**
     * @return Sample rate in Hz.
     * 
     */
    public Optional sampleRate() {
        return Optional.ofNullable(this.sampleRate);
    }
    /**
     * @return Use MPEG-2 AAC audio instead of MPEG-4 AAC audio for raw or MPEG-2 Transport Stream containers.
     * 
     */
    public Optional spec() {
        return Optional.ofNullable(this.spec);
    }
    /**
     * @return VBR Quality Level - Only used if rateControlMode is VBR.
     * 
     */
    public Optional vbrQuality() {
        return Optional.ofNullable(this.vbrQuality);
    }

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

    public static Builder builder(ChannelEncoderSettingsAudioDescriptionCodecSettingsAacSettings defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Double bitrate;
        private @Nullable String codingMode;
        private @Nullable String inputType;
        private @Nullable String profile;
        private @Nullable String rateControlMode;
        private @Nullable String rawFormat;
        private @Nullable Double sampleRate;
        private @Nullable String spec;
        private @Nullable String vbrQuality;
        public Builder() {}
        public Builder(ChannelEncoderSettingsAudioDescriptionCodecSettingsAacSettings defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.bitrate = defaults.bitrate;
    	      this.codingMode = defaults.codingMode;
    	      this.inputType = defaults.inputType;
    	      this.profile = defaults.profile;
    	      this.rateControlMode = defaults.rateControlMode;
    	      this.rawFormat = defaults.rawFormat;
    	      this.sampleRate = defaults.sampleRate;
    	      this.spec = defaults.spec;
    	      this.vbrQuality = defaults.vbrQuality;
        }

        @CustomType.Setter
        public Builder bitrate(@Nullable Double bitrate) {

            this.bitrate = bitrate;
            return this;
        }
        @CustomType.Setter
        public Builder codingMode(@Nullable String codingMode) {

            this.codingMode = codingMode;
            return this;
        }
        @CustomType.Setter
        public Builder inputType(@Nullable String inputType) {

            this.inputType = inputType;
            return this;
        }
        @CustomType.Setter
        public Builder profile(@Nullable String profile) {

            this.profile = profile;
            return this;
        }
        @CustomType.Setter
        public Builder rateControlMode(@Nullable String rateControlMode) {

            this.rateControlMode = rateControlMode;
            return this;
        }
        @CustomType.Setter
        public Builder rawFormat(@Nullable String rawFormat) {

            this.rawFormat = rawFormat;
            return this;
        }
        @CustomType.Setter
        public Builder sampleRate(@Nullable Double sampleRate) {

            this.sampleRate = sampleRate;
            return this;
        }
        @CustomType.Setter
        public Builder spec(@Nullable String spec) {

            this.spec = spec;
            return this;
        }
        @CustomType.Setter
        public Builder vbrQuality(@Nullable String vbrQuality) {

            this.vbrQuality = vbrQuality;
            return this;
        }
        public ChannelEncoderSettingsAudioDescriptionCodecSettingsAacSettings build() {
            final var _resultValue = new ChannelEncoderSettingsAudioDescriptionCodecSettingsAacSettings();
            _resultValue.bitrate = bitrate;
            _resultValue.codingMode = codingMode;
            _resultValue.inputType = inputType;
            _resultValue.profile = profile;
            _resultValue.rateControlMode = rateControlMode;
            _resultValue.rawFormat = rawFormat;
            _resultValue.sampleRate = sampleRate;
            _resultValue.spec = spec;
            _resultValue.vbrQuality = vbrQuality;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy