![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.datafactory.kotlin.inputs.ExecutionActivityArgs.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.datafactory.kotlin.inputs
import com.pulumi.azurenative.datafactory.inputs.ExecutionActivityArgs.builder
import com.pulumi.azurenative.datafactory.kotlin.enums.ActivityOnInactiveMarkAs
import com.pulumi.azurenative.datafactory.kotlin.enums.ActivityState
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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Base class for all execution activities.
* @property dependsOn Activity depends on condition.
* @property description Activity description.
* @property linkedServiceName Linked service reference.
* @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 policy Activity policy.
* @property state Activity state. This is an optional property and if not provided, the state will be Active by default.
* @property type Type of activity.
* Expected value is 'Execution'.
* @property userProperties Activity user properties.
*/
public data class ExecutionActivityArgs(
public val dependsOn: Output>? = null,
public val description: Output? = null,
public val linkedServiceName: Output? = null,
public val name: Output,
public val onInactiveMarkAs: Output>? = null,
public val policy: Output? = null,
public val state: Output>? = null,
public val type: Output,
public val userProperties: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.datafactory.inputs.ExecutionActivityArgs =
com.pulumi.azurenative.datafactory.inputs.ExecutionActivityArgs.builder()
.dependsOn(
dependsOn?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.description(description?.applyValue({ args0 -> args0 }))
.linkedServiceName(linkedServiceName?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.name(name.applyValue({ args0 -> args0 }))
.onInactiveMarkAs(
onInactiveMarkAs?.applyValue({ args0 ->
args0.transform(
{ args0 -> args0 },
{ args0 -> args0.let({ args0 -> args0.toJava() }) },
)
}),
)
.policy(policy?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.state(
state?.applyValue({ args0 ->
args0.transform({ args0 -> args0 }, { 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 [ExecutionActivityArgs].
*/
@PulumiTagMarker
public class ExecutionActivityArgsBuilder internal constructor() {
private var dependsOn: Output>? = null
private var description: Output? = null
private var linkedServiceName: Output? = null
private var name: Output? = null
private var onInactiveMarkAs: Output>? = null
private var policy: Output? = null
private var state: Output>? = null
private var type: Output? = null
private var userProperties: Output>? = null
/**
* @param value Activity depends on condition.
*/
@JvmName("nvxgcunoibdukhpn")
public suspend fun dependsOn(`value`: Output>) {
this.dependsOn = value
}
@JvmName("qdpwnjhuotmfjmik")
public suspend fun dependsOn(vararg values: Output) {
this.dependsOn = Output.all(values.asList())
}
/**
* @param values Activity depends on condition.
*/
@JvmName("axssqogwmmqvvodd")
public suspend fun dependsOn(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy