Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.pulumi.azurenative.datafactory.kotlin.inputs.HDInsightStreamingActivityArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.datafactory.kotlin.inputs
import com.pulumi.azurenative.datafactory.inputs.HDInsightStreamingActivityArgs.builder
import com.pulumi.azurenative.datafactory.kotlin.enums.ActivityOnInactiveMarkAs
import com.pulumi.azurenative.datafactory.kotlin.enums.ActivityState
import com.pulumi.azurenative.datafactory.kotlin.enums.HDInsightActivityDebugInfoOption
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 com.pulumi.kotlin.applySuspend
import kotlin.Any
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.collections.Map
import kotlin.jvm.JvmName
/**
* HDInsight streaming activity type.
* @property arguments User specified arguments to HDInsightActivity.
* @property combiner Combiner executable name. Type: string (or Expression with resultType string).
* @property commandEnvironment Command line environment values.
* @property defines Allows user to specify defines for streaming job request.
* @property dependsOn Activity depends on condition.
* @property description Activity description.
* @property fileLinkedService Linked service reference where the files are located.
* @property filePaths Paths to streaming job files. Can be directories.
* @property getDebugInfo Debug info option.
* @property input Input blob path. Type: string (or Expression with resultType string).
* @property linkedServiceName Linked service reference.
* @property mapper Mapper executable name. Type: string (or Expression with resultType string).
* @property name Activity name.
* @property onInactiveMarkAs Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default.
* @property output Output blob path. Type: string (or Expression with resultType string).
* @property policy Activity policy.
* @property reducer Reducer executable name. Type: string (or Expression with resultType string).
* @property state Activity state. This is an optional property and if not provided, the state will be Active by default.
* @property storageLinkedServices Storage linked service references.
* @property type Type of activity.
* Expected value is 'HDInsightStreaming'.
* @property userProperties Activity user properties.
*/
public data class HDInsightStreamingActivityArgs(
public val arguments: Output>? = null,
public val combiner: Output? = null,
public val commandEnvironment: Output>? = null,
public val defines: Output>? = null,
public val dependsOn: Output>? = null,
public val description: Output? = null,
public val fileLinkedService: Output? = null,
public val filePaths: Output>,
public val getDebugInfo: Output>? = null,
public val input: Output,
public val linkedServiceName: Output? = null,
public val mapper: Output,
public val name: Output,
public val onInactiveMarkAs: Output>? = null,
public val output: Output,
public val policy: Output? = null,
public val reducer: Output,
public val state: Output>? = null,
public val storageLinkedServices: Output>? = null,
public val type: Output,
public val userProperties: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.datafactory.inputs.HDInsightStreamingActivityArgs =
com.pulumi.azurenative.datafactory.inputs.HDInsightStreamingActivityArgs.builder()
.arguments(arguments?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.combiner(combiner?.applyValue({ args0 -> args0 }))
.commandEnvironment(commandEnvironment?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.defines(defines?.applyValue({ args0 -> args0.map({ args0 -> args0.key.to(args0.value) }).toMap() }))
.dependsOn(
dependsOn?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.description(description?.applyValue({ args0 -> args0 }))
.fileLinkedService(fileLinkedService?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.filePaths(filePaths.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.getDebugInfo(
getDebugInfo?.applyValue({ args0 ->
args0.transform({ args0 -> args0 }, { args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.input(input.applyValue({ args0 -> args0 }))
.linkedServiceName(linkedServiceName?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.mapper(mapper.applyValue({ args0 -> args0 }))
.name(name.applyValue({ args0 -> args0 }))
.onInactiveMarkAs(
onInactiveMarkAs?.applyValue({ args0 ->
args0.transform(
{ args0 -> args0 },
{ args0 -> args0.let({ args0 -> args0.toJava() }) },
)
}),
)
.output(output.applyValue({ args0 -> args0 }))
.policy(policy?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.reducer(reducer.applyValue({ args0 -> args0 }))
.state(
state?.applyValue({ args0 ->
args0.transform({ args0 -> args0 }, { args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.storageLinkedServices(
storageLinkedServices?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.type(type.applyValue({ args0 -> args0 }))
.userProperties(
userProperties?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [HDInsightStreamingActivityArgs].
*/
@PulumiTagMarker
public class HDInsightStreamingActivityArgsBuilder internal constructor() {
private var arguments: Output>? = null
private var combiner: Output? = null
private var commandEnvironment: Output>? = null
private var defines: Output>? = null
private var dependsOn: Output>? = null
private var description: Output? = null
private var fileLinkedService: Output? = null
private var filePaths: Output>? = null
private var getDebugInfo: Output>? = null
private var input: Output? = null
private var linkedServiceName: Output? = null
private var mapper: Output? = null
private var name: Output? = null
private var onInactiveMarkAs: Output>? = null
private var output: Output? = null
private var policy: Output? = null
private var reducer: Output? = null
private var state: Output>? = null
private var storageLinkedServices: Output>? = null
private var type: Output? = null
private var userProperties: Output>? = null
/**
* @param value User specified arguments to HDInsightActivity.
*/
@JvmName("rmohfdpnivkkbtgd")
public suspend fun arguments(`value`: Output>) {
this.arguments = value
}
@JvmName("ughjhjokokljqlwu")
public suspend fun arguments(vararg values: Output) {
this.arguments = Output.all(values.asList())
}
/**
* @param values User specified arguments to HDInsightActivity.
*/
@JvmName("ljhroavjqgdyhpee")
public suspend fun arguments(values: List>) {
this.arguments = Output.all(values)
}
/**
* @param value Combiner executable name. Type: string (or Expression with resultType string).
*/
@JvmName("fgckaxcbgljrfuiw")
public suspend fun combiner(`value`: Output) {
this.combiner = value
}
/**
* @param value Command line environment values.
*/
@JvmName("ygaskluwigqrwkwn")
public suspend fun commandEnvironment(`value`: Output>) {
this.commandEnvironment = value
}
@JvmName("yhentlwcscbuitgg")
public suspend fun commandEnvironment(vararg values: Output) {
this.commandEnvironment = Output.all(values.asList())
}
/**
* @param values Command line environment values.
*/
@JvmName("rjqjsskecuipliwa")
public suspend fun commandEnvironment(values: List>) {
this.commandEnvironment = Output.all(values)
}
/**
* @param value Allows user to specify defines for streaming job request.
*/
@JvmName("auuhjqblrkblxcge")
public suspend fun defines(`value`: Output>) {
this.defines = value
}
/**
* @param value Activity depends on condition.
*/
@JvmName("kqhjnpywxwwcwlty")
public suspend fun dependsOn(`value`: Output>) {
this.dependsOn = value
}
@JvmName("xcwycudkbqmyvnph")
public suspend fun dependsOn(vararg values: Output) {
this.dependsOn = Output.all(values.asList())
}
/**
* @param values Activity depends on condition.
*/
@JvmName("nnmlnpuyoecbwnqd")
public suspend fun dependsOn(values: List>) {
this.dependsOn = Output.all(values)
}
/**
* @param value Activity description.
*/
@JvmName("ucvbtdsrujslnjfy")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value Linked service reference where the files are located.
*/
@JvmName("rnastnkjmlukdrlp")
public suspend fun fileLinkedService(`value`: Output) {
this.fileLinkedService = value
}
/**
* @param value Paths to streaming job files. Can be directories.
*/
@JvmName("oowaamwwclmkaayp")
public suspend fun filePaths(`value`: Output>) {
this.filePaths = value
}
@JvmName("vesbmqvbedhvtobq")
public suspend fun filePaths(vararg values: Output) {
this.filePaths = Output.all(values.asList())
}
/**
* @param values Paths to streaming job files. Can be directories.
*/
@JvmName("wxdogejevrjyxtrw")
public suspend fun filePaths(values: List>) {
this.filePaths = Output.all(values)
}
/**
* @param value Debug info option.
*/
@JvmName("hhpsgsjyncygirvb")
public suspend fun getDebugInfo(`value`: Output>) {
this.getDebugInfo = value
}
/**
* @param value Input blob path. Type: string (or Expression with resultType string).
*/
@JvmName("hfvsglfmrebreedu")
public suspend fun input(`value`: Output) {
this.input = value
}
/**
* @param value Linked service reference.
*/
@JvmName("vtyxgqievtrvjbcy")
public suspend fun linkedServiceName(`value`: Output) {
this.linkedServiceName = value
}
/**
* @param value Mapper executable name. Type: string (or Expression with resultType string).
*/
@JvmName("lygngrpyglennntl")
public suspend fun mapper(`value`: Output) {
this.mapper = value
}
/**
* @param value Activity name.
*/
@JvmName("ccufgcovxtwoshkg")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default.
*/
@JvmName("efhuhgmyfhhchbmu")
public suspend fun onInactiveMarkAs(`value`: Output>) {
this.onInactiveMarkAs = value
}
/**
* @param value Output blob path. Type: string (or Expression with resultType string).
*/
@JvmName("fcdcadiengiqoxwb")
public suspend fun output(`value`: Output) {
this.output = value
}
/**
* @param value Activity policy.
*/
@JvmName("wkajvosjxleitmqn")
public suspend fun policy(`value`: Output) {
this.policy = value
}
/**
* @param value Reducer executable name. Type: string (or Expression with resultType string).
*/
@JvmName("vhrhpsriqvqaklyn")
public suspend fun reducer(`value`: Output) {
this.reducer = value
}
/**
* @param value Activity state. This is an optional property and if not provided, the state will be Active by default.
*/
@JvmName("vypqsvclrpugisku")
public suspend fun state(`value`: Output>) {
this.state = value
}
/**
* @param value Storage linked service references.
*/
@JvmName("osafubkeinbbushk")
public suspend fun storageLinkedServices(`value`: Output>) {
this.storageLinkedServices = value
}
@JvmName("quiamcvyjxqrhbkr")
public suspend fun storageLinkedServices(vararg values: Output) {
this.storageLinkedServices = Output.all(values.asList())
}
/**
* @param values Storage linked service references.
*/
@JvmName("gjbtxqequgfiuayr")
public suspend fun storageLinkedServices(values: List>) {
this.storageLinkedServices = Output.all(values)
}
/**
* @param value Type of activity.
* Expected value is 'HDInsightStreaming'.
*/
@JvmName("iwntyiuskqfwiott")
public suspend fun type(`value`: Output) {
this.type = value
}
/**
* @param value Activity user properties.
*/
@JvmName("ppyqhliigqjqlnid")
public suspend fun userProperties(`value`: Output>) {
this.userProperties = value
}
@JvmName("qunssfjclvufriov")
public suspend fun userProperties(vararg values: Output) {
this.userProperties = Output.all(values.asList())
}
/**
* @param values Activity user properties.
*/
@JvmName("tikjetmeyqucepbv")
public suspend fun userProperties(values: List>) {
this.userProperties = Output.all(values)
}
/**
* @param value User specified arguments to HDInsightActivity.
*/
@JvmName("tinelqnqquweteuy")
public suspend fun arguments(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.arguments = mapped
}
/**
* @param values User specified arguments to HDInsightActivity.
*/
@JvmName("txbkbdldgcdxvjfn")
public suspend fun arguments(vararg values: Any) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.arguments = mapped
}
/**
* @param value Combiner executable name. Type: string (or Expression with resultType string).
*/
@JvmName("hoiwawyejducqlyv")
public suspend fun combiner(`value`: Any?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.combiner = mapped
}
/**
* @param value Command line environment values.
*/
@JvmName("frngjgkksakfnegg")
public suspend fun commandEnvironment(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.commandEnvironment = mapped
}
/**
* @param values Command line environment values.
*/
@JvmName("qpqyqbciifqwiiyc")
public suspend fun commandEnvironment(vararg values: Any) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.commandEnvironment = mapped
}
/**
* @param value Allows user to specify defines for streaming job request.
*/
@JvmName("vdbfvdtidbkesbmm")
public suspend fun defines(`value`: Map?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.defines = mapped
}
/**
* @param values Allows user to specify defines for streaming job request.
*/
@JvmName("fjjfagqiqgvunfsh")
public fun defines(vararg values: Pair) {
val toBeMapped = values.toMap()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.defines = mapped
}
/**
* @param value Activity depends on condition.
*/
@JvmName("owwuqyiheylopyjd")
public suspend fun dependsOn(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.dependsOn = mapped
}
/**
* @param argument Activity depends on condition.
*/
@JvmName("aobgccefsfuncxcm")
public suspend fun dependsOn(argument: List Unit>) {
val toBeMapped = argument.toList().map {
ActivityDependencyArgsBuilder().applySuspend {
it()
}.build()
}
val mapped = of(toBeMapped)
this.dependsOn = mapped
}
/**
* @param argument Activity depends on condition.
*/
@JvmName("jymnmrbukddtaxgp")
public suspend fun dependsOn(vararg argument: suspend ActivityDependencyArgsBuilder.() -> Unit) {
val toBeMapped = argument.toList().map {
ActivityDependencyArgsBuilder().applySuspend {
it()
}.build()
}
val mapped = of(toBeMapped)
this.dependsOn = mapped
}
/**
* @param argument Activity depends on condition.
*/
@JvmName("uwncrbardabrjwug")
public suspend fun dependsOn(argument: suspend ActivityDependencyArgsBuilder.() -> Unit) {
val toBeMapped = listOf(ActivityDependencyArgsBuilder().applySuspend { argument() }.build())
val mapped = of(toBeMapped)
this.dependsOn = mapped
}
/**
* @param values Activity depends on condition.
*/
@JvmName("tkpycpganxpptwsd")
public suspend fun dependsOn(vararg values: ActivityDependencyArgs) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.dependsOn = mapped
}
/**
* @param value Activity description.
*/
@JvmName("pbxbgheppdwbwryo")
public suspend fun description(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.description = mapped
}
/**
* @param value Linked service reference where the files are located.
*/
@JvmName("robbepsxqxsdeest")
public suspend fun fileLinkedService(`value`: LinkedServiceReferenceArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.fileLinkedService = mapped
}
/**
* @param argument Linked service reference where the files are located.
*/
@JvmName("tprrgebkpaxqfvdo")
public suspend fun fileLinkedService(argument: suspend LinkedServiceReferenceArgsBuilder.() -> Unit) {
val toBeMapped = LinkedServiceReferenceArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.fileLinkedService = mapped
}
/**
* @param value Paths to streaming job files. Can be directories.
*/
@JvmName("pqskgqtwmaauicmh")
public suspend fun filePaths(`value`: List) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.filePaths = mapped
}
/**
* @param values Paths to streaming job files. Can be directories.
*/
@JvmName("ansriflesqvamgbo")
public suspend fun filePaths(vararg values: Any) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.filePaths = mapped
}
/**
* @param value Debug info option.
*/
@JvmName("viraijkwxcuuwxne")
public suspend fun getDebugInfo(`value`: Either?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.getDebugInfo = mapped
}
/**
* @param value Debug info option.
*/
@JvmName("kqqctotwmyslpkhw")
public fun getDebugInfo(`value`: String) {
val toBeMapped = Either.ofLeft(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.getDebugInfo = mapped
}
/**
* @param value Debug info option.
*/
@JvmName("utnnhejbgnmcqlmu")
public fun getDebugInfo(`value`: HDInsightActivityDebugInfoOption) {
val toBeMapped = Either.ofRight(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.getDebugInfo = mapped
}
/**
* @param value Input blob path. Type: string (or Expression with resultType string).
*/
@JvmName("rnvvinukxubrxxyn")
public suspend fun input(`value`: Any) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.input = mapped
}
/**
* @param value Linked service reference.
*/
@JvmName("ionbxycuehxfatgm")
public suspend fun linkedServiceName(`value`: LinkedServiceReferenceArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.linkedServiceName = mapped
}
/**
* @param argument Linked service reference.
*/
@JvmName("tmrnvdydgucnipvo")
public suspend fun linkedServiceName(argument: suspend LinkedServiceReferenceArgsBuilder.() -> Unit) {
val toBeMapped = LinkedServiceReferenceArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.linkedServiceName = mapped
}
/**
* @param value Mapper executable name. Type: string (or Expression with resultType string).
*/
@JvmName("tqrtuppbbjbygaos")
public suspend fun mapper(`value`: Any) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.mapper = mapped
}
/**
* @param value Activity name.
*/
@JvmName("svywgpdovuxdgavi")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default.
*/
@JvmName("bvuttexsekamhpoy")
public suspend fun onInactiveMarkAs(`value`: Either?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.onInactiveMarkAs = mapped
}
/**
* @param value Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default.
*/
@JvmName("kvwgqaobhxayqird")
public fun onInactiveMarkAs(`value`: String) {
val toBeMapped = Either.ofLeft(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.onInactiveMarkAs = mapped
}
/**
* @param value Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default.
*/
@JvmName("rbdvqptrbaawjwww")
public fun onInactiveMarkAs(`value`: ActivityOnInactiveMarkAs) {
val toBeMapped = Either.ofRight(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.onInactiveMarkAs = mapped
}
/**
* @param value Output blob path. Type: string (or Expression with resultType string).
*/
@JvmName("ueodwldesowwqiwm")
public suspend fun output(`value`: Any) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.output = mapped
}
/**
* @param value Activity policy.
*/
@JvmName("ttugugufpnkiwlrl")
public suspend fun policy(`value`: ActivityPolicyArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.policy = mapped
}
/**
* @param argument Activity policy.
*/
@JvmName("wxpnhvmuubrnqbpk")
public suspend fun policy(argument: suspend ActivityPolicyArgsBuilder.() -> Unit) {
val toBeMapped = ActivityPolicyArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.policy = mapped
}
/**
* @param value Reducer executable name. Type: string (or Expression with resultType string).
*/
@JvmName("gwfgnfqragjlunmh")
public suspend fun reducer(`value`: Any) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.reducer = mapped
}
/**
* @param value Activity state. This is an optional property and if not provided, the state will be Active by default.
*/
@JvmName("udbduojwsomllsbu")
public suspend fun state(`value`: Either?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.state = mapped
}
/**
* @param value Activity state. This is an optional property and if not provided, the state will be Active by default.
*/
@JvmName("ssuipamovajascdi")
public fun state(`value`: String) {
val toBeMapped = Either.ofLeft(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.state = mapped
}
/**
* @param value Activity state. This is an optional property and if not provided, the state will be Active by default.
*/
@JvmName("xvvykhonllasrpkf")
public fun state(`value`: ActivityState) {
val toBeMapped = Either.ofRight(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.state = mapped
}
/**
* @param value Storage linked service references.
*/
@JvmName("vfjvqdmmmorxjdah")
public suspend fun storageLinkedServices(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.storageLinkedServices = mapped
}
/**
* @param argument Storage linked service references.
*/
@JvmName("rystnjdvhhapwmfy")
public suspend fun storageLinkedServices(argument: List Unit>) {
val toBeMapped = argument.toList().map {
LinkedServiceReferenceArgsBuilder().applySuspend {
it()
}.build()
}
val mapped = of(toBeMapped)
this.storageLinkedServices = mapped
}
/**
* @param argument Storage linked service references.
*/
@JvmName("fatnijwvpxoieugr")
public suspend fun storageLinkedServices(vararg argument: suspend LinkedServiceReferenceArgsBuilder.() -> Unit) {
val toBeMapped = argument.toList().map {
LinkedServiceReferenceArgsBuilder().applySuspend {
it()
}.build()
}
val mapped = of(toBeMapped)
this.storageLinkedServices = mapped
}
/**
* @param argument Storage linked service references.
*/
@JvmName("rbuqtmeaobqltmdp")
public suspend fun storageLinkedServices(argument: suspend LinkedServiceReferenceArgsBuilder.() -> Unit) {
val toBeMapped = listOf(LinkedServiceReferenceArgsBuilder().applySuspend { argument() }.build())
val mapped = of(toBeMapped)
this.storageLinkedServices = mapped
}
/**
* @param values Storage linked service references.
*/
@JvmName("ggqcnkhbnkdpnjqs")
public suspend fun storageLinkedServices(vararg values: LinkedServiceReferenceArgs) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.storageLinkedServices = mapped
}
/**
* @param value Type of activity.
* Expected value is 'HDInsightStreaming'.
*/
@JvmName("woyhtypxodhpfomq")
public suspend fun type(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.type = mapped
}
/**
* @param value Activity user properties.
*/
@JvmName("hfysooboewukaywh")
public suspend fun userProperties(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.userProperties = mapped
}
/**
* @param argument Activity user properties.
*/
@JvmName("hatptxfflwrfnvug")
public suspend fun userProperties(argument: List Unit>) {
val toBeMapped = argument.toList().map {
UserPropertyArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.userProperties = mapped
}
/**
* @param argument Activity user properties.
*/
@JvmName("nmwngqrljigygvbq")
public suspend fun userProperties(vararg argument: suspend UserPropertyArgsBuilder.() -> Unit) {
val toBeMapped = argument.toList().map {
UserPropertyArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.userProperties = mapped
}
/**
* @param argument Activity user properties.
*/
@JvmName("sbulrungqptgmrut")
public suspend fun userProperties(argument: suspend UserPropertyArgsBuilder.() -> Unit) {
val toBeMapped = listOf(UserPropertyArgsBuilder().applySuspend { argument() }.build())
val mapped = of(toBeMapped)
this.userProperties = mapped
}
/**
* @param values Activity user properties.
*/
@JvmName("stcdklyjlhxwlcet")
public suspend fun userProperties(vararg values: UserPropertyArgs) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.userProperties = mapped
}
internal fun build(): HDInsightStreamingActivityArgs = HDInsightStreamingActivityArgs(
arguments = arguments,
combiner = combiner,
commandEnvironment = commandEnvironment,
defines = defines,
dependsOn = dependsOn,
description = description,
fileLinkedService = fileLinkedService,
filePaths = filePaths ?: throw PulumiNullFieldException("filePaths"),
getDebugInfo = getDebugInfo,
input = input ?: throw PulumiNullFieldException("input"),
linkedServiceName = linkedServiceName,
mapper = mapper ?: throw PulumiNullFieldException("mapper"),
name = name ?: throw PulumiNullFieldException("name"),
onInactiveMarkAs = onInactiveMarkAs,
output = output ?: throw PulumiNullFieldException("output"),
policy = policy,
reducer = reducer ?: throw PulumiNullFieldException("reducer"),
state = state,
storageLinkedServices = storageLinkedServices,
type = type ?: throw PulumiNullFieldException("type"),
userProperties = userProperties,
)
}