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

com.pulumi.azurenative.media.outputs.FromEachInputFileResponse 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.outputs;

import com.pulumi.azurenative.media.outputs.AudioTrackDescriptorResponse;
import com.pulumi.azurenative.media.outputs.SelectAudioTrackByAttributeResponse;
import com.pulumi.azurenative.media.outputs.SelectAudioTrackByIdResponse;
import com.pulumi.azurenative.media.outputs.SelectVideoTrackByAttributeResponse;
import com.pulumi.azurenative.media.outputs.SelectVideoTrackByIdResponse;
import com.pulumi.azurenative.media.outputs.VideoTrackDescriptorResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Object;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;

@CustomType
public final class FromEachInputFileResponse {
    /**
     * @return The list of TrackDescriptors which define the metadata and selection of tracks in the input.
     * 
     */
    private @Nullable List includedTracks;
    /**
     * @return The discriminator for derived types.
     * Expected value is '#Microsoft.Media.FromEachInputFile'.
     * 
     */
    private String odataType;

    private FromEachInputFileResponse() {}
    /**
     * @return The list of TrackDescriptors which define the metadata and selection of tracks in the input.
     * 
     */
    public List includedTracks() {
        return this.includedTracks == null ? List.of() : this.includedTracks;
    }
    /**
     * @return The discriminator for derived types.
     * Expected value is '#Microsoft.Media.FromEachInputFile'.
     * 
     */
    public String odataType() {
        return this.odataType;
    }

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

    public static Builder builder(FromEachInputFileResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List includedTracks;
        private String odataType;
        public Builder() {}
        public Builder(FromEachInputFileResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.includedTracks = defaults.includedTracks;
    	      this.odataType = defaults.odataType;
        }

        @CustomType.Setter
        public Builder includedTracks(@Nullable List includedTracks) {

            this.includedTracks = includedTracks;
            return this;
        }
        public Builder includedTracks(Object... includedTracks) {
            return includedTracks(List.of(includedTracks));
        }
        @CustomType.Setter
        public Builder odataType(String odataType) {
            if (odataType == null) {
              throw new MissingRequiredPropertyException("FromEachInputFileResponse", "odataType");
            }
            this.odataType = odataType;
            return this;
        }
        public FromEachInputFileResponse build() {
            final var _resultValue = new FromEachInputFileResponse();
            _resultValue.includedTracks = includedTracks;
            _resultValue.odataType = odataType;
            return _resultValue;
        }
    }
}