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

com.pulumi.aws.elastictranscoder.inputs.PresetAudioCodecOptionsArgs 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.60.0-alpha.1731982519
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.elastictranscoder.inputs;

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


public final class PresetAudioCodecOptionsArgs extends com.pulumi.resources.ResourceArgs {

    public static final PresetAudioCodecOptionsArgs Empty = new PresetAudioCodecOptionsArgs();

    /**
     * The bit depth of a sample is how many bits of information are included in the audio samples. Valid values are `16` and `24`. (FLAC/PCM Only)
     * 
     */
    @Import(name="bitDepth")
    private @Nullable Output bitDepth;

    /**
     * @return The bit depth of a sample is how many bits of information are included in the audio samples. Valid values are `16` and `24`. (FLAC/PCM Only)
     * 
     */
    public Optional> bitDepth() {
        return Optional.ofNullable(this.bitDepth);
    }

    /**
     * The order the bits of a PCM sample are stored in. The supported value is LittleEndian. (PCM Only)
     * 
     */
    @Import(name="bitOrder")
    private @Nullable Output bitOrder;

    /**
     * @return The order the bits of a PCM sample are stored in. The supported value is LittleEndian. (PCM Only)
     * 
     */
    public Optional> bitOrder() {
        return Optional.ofNullable(this.bitOrder);
    }

    /**
     * If you specified AAC for Audio:Codec, choose the AAC profile for the output file.
     * 
     */
    @Import(name="profile")
    private @Nullable Output profile;

    /**
     * @return If you specified AAC for Audio:Codec, choose the AAC profile for the output file.
     * 
     */
    public Optional> profile() {
        return Optional.ofNullable(this.profile);
    }

    /**
     * Whether audio samples are represented with negative and positive numbers (signed) or only positive numbers (unsigned). The supported value is Signed. (PCM Only)
     * 
     */
    @Import(name="signed")
    private @Nullable Output signed;

    /**
     * @return Whether audio samples are represented with negative and positive numbers (signed) or only positive numbers (unsigned). The supported value is Signed. (PCM Only)
     * 
     */
    public Optional> signed() {
        return Optional.ofNullable(this.signed);
    }

    private PresetAudioCodecOptionsArgs() {}

    private PresetAudioCodecOptionsArgs(PresetAudioCodecOptionsArgs $) {
        this.bitDepth = $.bitDepth;
        this.bitOrder = $.bitOrder;
        this.profile = $.profile;
        this.signed = $.signed;
    }

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

    public static final class Builder {
        private PresetAudioCodecOptionsArgs $;

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

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

        /**
         * @param bitDepth The bit depth of a sample is how many bits of information are included in the audio samples. Valid values are `16` and `24`. (FLAC/PCM Only)
         * 
         * @return builder
         * 
         */
        public Builder bitDepth(@Nullable Output bitDepth) {
            $.bitDepth = bitDepth;
            return this;
        }

        /**
         * @param bitDepth The bit depth of a sample is how many bits of information are included in the audio samples. Valid values are `16` and `24`. (FLAC/PCM Only)
         * 
         * @return builder
         * 
         */
        public Builder bitDepth(String bitDepth) {
            return bitDepth(Output.of(bitDepth));
        }

        /**
         * @param bitOrder The order the bits of a PCM sample are stored in. The supported value is LittleEndian. (PCM Only)
         * 
         * @return builder
         * 
         */
        public Builder bitOrder(@Nullable Output bitOrder) {
            $.bitOrder = bitOrder;
            return this;
        }

        /**
         * @param bitOrder The order the bits of a PCM sample are stored in. The supported value is LittleEndian. (PCM Only)
         * 
         * @return builder
         * 
         */
        public Builder bitOrder(String bitOrder) {
            return bitOrder(Output.of(bitOrder));
        }

        /**
         * @param profile If you specified AAC for Audio:Codec, choose the AAC profile for the output file.
         * 
         * @return builder
         * 
         */
        public Builder profile(@Nullable Output profile) {
            $.profile = profile;
            return this;
        }

        /**
         * @param profile If you specified AAC for Audio:Codec, choose the AAC profile for the output file.
         * 
         * @return builder
         * 
         */
        public Builder profile(String profile) {
            return profile(Output.of(profile));
        }

        /**
         * @param signed Whether audio samples are represented with negative and positive numbers (signed) or only positive numbers (unsigned). The supported value is Signed. (PCM Only)
         * 
         * @return builder
         * 
         */
        public Builder signed(@Nullable Output signed) {
            $.signed = signed;
            return this;
        }

        /**
         * @param signed Whether audio samples are represented with negative and positive numbers (signed) or only positive numbers (unsigned). The supported value is Signed. (PCM Only)
         * 
         * @return builder
         * 
         */
        public Builder signed(String signed) {
            return signed(Output.of(signed));
        }

        public PresetAudioCodecOptionsArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy