![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.media.kotlin.inputs.JobInputClipArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.media.kotlin.inputs
import com.pulumi.azurenative.media.inputs.JobInputClipArgs.builder
import com.pulumi.core.Either
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
/**
* Represents input files for a Job.
* @property end Defines a point on the timeline of the input media at which processing will end. Defaults to the end of the input media.
* @property files List of files. Required for JobInputHttp. Maximum of 4000 characters each. Query strings will not be returned in service responses to prevent sensitive data exposure.
* @property inputDefinitions Defines a list of InputDefinitions. For each InputDefinition, it defines a list of track selections and related metadata.
* @property label A label that is assigned to a JobInputClip, that is used to satisfy a reference used in the Transform. For example, a Transform can be authored so as to take an image file with the label 'xyz' and apply it as an overlay onto the input video before it is encoded. When submitting a Job, exactly one of the JobInputs should be the image file, and it should have the label 'xyz'.
* @property odataType The discriminator for derived types.
* Expected value is '#Microsoft.Media.JobInputClip'.
* @property start Defines a point on the timeline of the input media at which processing will start. Defaults to the beginning of the input media.
*/
public data class JobInputClipArgs(
public val end: Output>? = null,
public val files: Output>? = null,
public val inputDefinitions: Output>? = null,
public val label: Output? = null,
public val odataType: Output,
public val start: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.media.inputs.JobInputClipArgs =
com.pulumi.azurenative.media.inputs.JobInputClipArgs.builder()
.end(
end?.applyValue({ args0 ->
args0.transform(
{ args0 -> args0.let({ args0 -> args0.toJava() }) },
{ args0 -> args0.let({ args0 -> args0.toJava() }) },
)
}),
)
.files(files?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.inputDefinitions(inputDefinitions?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.label(label?.applyValue({ args0 -> args0 }))
.odataType(odataType.applyValue({ args0 -> args0 }))
.start(
start?.applyValue({ args0 ->
args0.transform({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}, { args0 -> args0.let({ args0 -> args0.toJava() }) })
}),
).build()
}
/**
* Builder for [JobInputClipArgs].
*/
@PulumiTagMarker
public class JobInputClipArgsBuilder internal constructor() {
private var end: Output>? = null
private var files: Output>? = null
private var inputDefinitions: Output>? = null
private var label: Output? = null
private var odataType: Output? = null
private var start: Output>? = null
/**
* @param value Defines a point on the timeline of the input media at which processing will end. Defaults to the end of the input media.
*/
@JvmName("myarcxjpbhqnvfff")
public suspend fun end(`value`: Output>) {
this.end = value
}
/**
* @param value List of files. Required for JobInputHttp. Maximum of 4000 characters each. Query strings will not be returned in service responses to prevent sensitive data exposure.
*/
@JvmName("pwqptpbbkhjravoh")
public suspend fun files(`value`: Output>) {
this.files = value
}
@JvmName("xxbprhrkalcibjdh")
public suspend fun files(vararg values: Output) {
this.files = Output.all(values.asList())
}
/**
* @param values List of files. Required for JobInputHttp. Maximum of 4000 characters each. Query strings will not be returned in service responses to prevent sensitive data exposure.
*/
@JvmName("dljnobaylpacnddy")
public suspend fun files(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy