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

com.pulumi.azurenative.media.inputs.FromAllInputFileArgs Maven / Gradle / Ivy

There is a newer version: 2.78.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.media.inputs;

import com.pulumi.azurenative.media.inputs.AudioTrackDescriptorArgs;
import com.pulumi.azurenative.media.inputs.SelectAudioTrackByAttributeArgs;
import com.pulumi.azurenative.media.inputs.SelectAudioTrackByIdArgs;
import com.pulumi.azurenative.media.inputs.SelectVideoTrackByAttributeArgs;
import com.pulumi.azurenative.media.inputs.SelectVideoTrackByIdArgs;
import com.pulumi.azurenative.media.inputs.VideoTrackDescriptorArgs;
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.Object;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * An InputDefinition that looks across all of the files provided to select tracks specified by the IncludedTracks property. Generally used with the AudioTrackByAttribute and VideoTrackByAttribute to allow selection of a single track across a set of input files.
 * 
 */
public final class FromAllInputFileArgs extends com.pulumi.resources.ResourceArgs {

    public static final FromAllInputFileArgs Empty = new FromAllInputFileArgs();

    /**
     * The list of TrackDescriptors which define the metadata and selection of tracks in the input.
     * 
     */
    @Import(name="includedTracks")
    private @Nullable Output> includedTracks;

    /**
     * @return The list of TrackDescriptors which define the metadata and selection of tracks in the input.
     * 
     */
    public Optional>> includedTracks() {
        return Optional.ofNullable(this.includedTracks);
    }

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

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

    private FromAllInputFileArgs() {}

    private FromAllInputFileArgs(FromAllInputFileArgs $) {
        this.includedTracks = $.includedTracks;
        this.odataType = $.odataType;
    }

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

    public static final class Builder {
        private FromAllInputFileArgs $;

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

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

        /**
         * @param includedTracks The list of TrackDescriptors which define the metadata and selection of tracks in the input.
         * 
         * @return builder
         * 
         */
        public Builder includedTracks(@Nullable Output> includedTracks) {
            $.includedTracks = includedTracks;
            return this;
        }

        /**
         * @param includedTracks The list of TrackDescriptors which define the metadata and selection of tracks in the input.
         * 
         * @return builder
         * 
         */
        public Builder includedTracks(List includedTracks) {
            return includedTracks(Output.of(includedTracks));
        }

        /**
         * @param includedTracks The list of TrackDescriptors which define the metadata and selection of tracks in the input.
         * 
         * @return builder
         * 
         */
        public Builder includedTracks(Object... includedTracks) {
            return includedTracks(List.of(includedTracks));
        }

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

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

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

}