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

com.pulumi.aws.medialive.outputs.ChannelInputAttachmentInputSettingsAudioSelectorSelectorSettingsAudioTrackSelection 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.medialive.outputs;

import com.pulumi.aws.medialive.outputs.ChannelInputAttachmentInputSettingsAudioSelectorSelectorSettingsAudioTrackSelectionDolbyEDecode;
import com.pulumi.aws.medialive.outputs.ChannelInputAttachmentInputSettingsAudioSelectorSelectorSettingsAudioTrackSelectionTrack;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class ChannelInputAttachmentInputSettingsAudioSelectorSelectorSettingsAudioTrackSelection {
    /**
     * @return Configure decoding options for Dolby E streams - these should be Dolby E frames carried in PCM streams tagged with SMPTE-337. See Dolby E Decode for more details.
     * 
     */
    private @Nullable ChannelInputAttachmentInputSettingsAudioSelectorSelectorSettingsAudioTrackSelectionDolbyEDecode dolbyEDecode;
    /**
     * @return Selects one or more unique audio tracks from within a source. See Audio Tracks for more details.
     * 
     */
    private List tracks;

    private ChannelInputAttachmentInputSettingsAudioSelectorSelectorSettingsAudioTrackSelection() {}
    /**
     * @return Configure decoding options for Dolby E streams - these should be Dolby E frames carried in PCM streams tagged with SMPTE-337. See Dolby E Decode for more details.
     * 
     */
    public Optional dolbyEDecode() {
        return Optional.ofNullable(this.dolbyEDecode);
    }
    /**
     * @return Selects one or more unique audio tracks from within a source. See Audio Tracks for more details.
     * 
     */
    public List tracks() {
        return this.tracks;
    }

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

    public static Builder builder(ChannelInputAttachmentInputSettingsAudioSelectorSelectorSettingsAudioTrackSelection defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable ChannelInputAttachmentInputSettingsAudioSelectorSelectorSettingsAudioTrackSelectionDolbyEDecode dolbyEDecode;
        private List tracks;
        public Builder() {}
        public Builder(ChannelInputAttachmentInputSettingsAudioSelectorSelectorSettingsAudioTrackSelection defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.dolbyEDecode = defaults.dolbyEDecode;
    	      this.tracks = defaults.tracks;
        }

        @CustomType.Setter
        public Builder dolbyEDecode(@Nullable ChannelInputAttachmentInputSettingsAudioSelectorSelectorSettingsAudioTrackSelectionDolbyEDecode dolbyEDecode) {

            this.dolbyEDecode = dolbyEDecode;
            return this;
        }
        @CustomType.Setter
        public Builder tracks(List tracks) {
            if (tracks == null) {
              throw new MissingRequiredPropertyException("ChannelInputAttachmentInputSettingsAudioSelectorSelectorSettingsAudioTrackSelection", "tracks");
            }
            this.tracks = tracks;
            return this;
        }
        public Builder tracks(ChannelInputAttachmentInputSettingsAudioSelectorSelectorSettingsAudioTrackSelectionTrack... tracks) {
            return tracks(List.of(tracks));
        }
        public ChannelInputAttachmentInputSettingsAudioSelectorSelectorSettingsAudioTrackSelection build() {
            final var _resultValue = new ChannelInputAttachmentInputSettingsAudioSelectorSelectorSettingsAudioTrackSelection();
            _resultValue.dolbyEDecode = dolbyEDecode;
            _resultValue.tracks = tracks;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy