com.pulumi.azurenative.media.kotlin.inputs.InputFileArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.media.kotlin.inputs
import com.pulumi.azurenative.media.inputs.InputFileArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Any
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* An InputDefinition for a single file. TrackSelections are scoped to the file specified.
* @property filename Name of the file that this input definition applies to.
* @property includedTracks The list of TrackDescriptors which define the metadata and selection of tracks in the input.
* @property odataType The discriminator for derived types.
* Expected value is '#Microsoft.Media.InputFile'.
*/
public data class InputFileArgs(
public val filename: Output? = null,
public val includedTracks: Output>? = null,
public val odataType: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.media.inputs.InputFileArgs =
com.pulumi.azurenative.media.inputs.InputFileArgs.builder()
.filename(filename?.applyValue({ args0 -> args0 }))
.includedTracks(includedTracks?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.odataType(odataType.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [InputFileArgs].
*/
@PulumiTagMarker
public class InputFileArgsBuilder internal constructor() {
private var filename: Output? = null
private var includedTracks: Output>? = null
private var odataType: Output? = null
/**
* @param value Name of the file that this input definition applies to.
*/
@JvmName("lgcxrqumyoymxfyd")
public suspend fun filename(`value`: Output) {
this.filename = value
}
/**
* @param value The list of TrackDescriptors which define the metadata and selection of tracks in the input.
*/
@JvmName("lvqcvxmdnmekgqbp")
public suspend fun includedTracks(`value`: Output>) {
this.includedTracks = value
}
@JvmName("gwnvoinrmypbyvgy")
public suspend fun includedTracks(vararg values: Output) {
this.includedTracks = Output.all(values.asList())
}
/**
* @param values The list of TrackDescriptors which define the metadata and selection of tracks in the input.
*/
@JvmName("rqmmdknxvcnmjtkc")
public suspend fun includedTracks(values: List