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

com.pulumi.aws.elastictranscoder.outputs.PresetAudioCodecOptions Maven / Gradle / Ivy

Go to download

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

The 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.outputs;

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

@CustomType
public final class PresetAudioCodecOptions {
    /**
     * @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)
     * 
     */
    private @Nullable String bitDepth;
    /**
     * @return The order the bits of a PCM sample are stored in. The supported value is LittleEndian. (PCM Only)
     * 
     */
    private @Nullable String bitOrder;
    /**
     * @return If you specified AAC for Audio:Codec, choose the AAC profile for the output file.
     * 
     */
    private @Nullable String profile;
    /**
     * @return Whether audio samples are represented with negative and positive numbers (signed) or only positive numbers (unsigned). The supported value is Signed. (PCM Only)
     * 
     */
    private @Nullable String signed;

    private PresetAudioCodecOptions() {}
    /**
     * @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);
    }
    /**
     * @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);
    }
    /**
     * @return If you specified AAC for Audio:Codec, choose the AAC profile for the output file.
     * 
     */
    public Optional profile() {
        return Optional.ofNullable(this.profile);
    }
    /**
     * @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);
    }

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

    public static Builder builder(PresetAudioCodecOptions defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String bitDepth;
        private @Nullable String bitOrder;
        private @Nullable String profile;
        private @Nullable String signed;
        public Builder() {}
        public Builder(PresetAudioCodecOptions defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.bitDepth = defaults.bitDepth;
    	      this.bitOrder = defaults.bitOrder;
    	      this.profile = defaults.profile;
    	      this.signed = defaults.signed;
        }

        @CustomType.Setter
        public Builder bitDepth(@Nullable String bitDepth) {

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

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

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

            this.signed = signed;
            return this;
        }
        public PresetAudioCodecOptions build() {
            final var _resultValue = new PresetAudioCodecOptions();
            _resultValue.bitDepth = bitDepth;
            _resultValue.bitOrder = bitOrder;
            _resultValue.profile = profile;
            _resultValue.signed = signed;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy