![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.datafactory.kotlin.inputs.WaitActivityArgs.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.WaitActivityArgs.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.Any
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* This activity suspends pipeline execution for the specified interval.
* @property dependsOn Activity depends on condition.
* @property description Activity description.
* @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 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 'Wait'.
* @property userProperties Activity user properties.
* @property waitTimeInSeconds Duration in seconds. Type: integer (or Expression with resultType integer).
*/
public data class WaitActivityArgs(
public val dependsOn: Output>? = null,
public val description: Output? = null,
public val name: Output,
public val onInactiveMarkAs: Output>? = null,
public val state: Output>? = null,
public val type: Output,
public val userProperties: Output>? = null,
public val waitTimeInSeconds: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.datafactory.inputs.WaitActivityArgs =
com.pulumi.azurenative.datafactory.inputs.WaitActivityArgs.builder()
.dependsOn(
dependsOn?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.description(description?.applyValue({ args0 -> args0 }))
.name(name.applyValue({ args0 -> args0 }))
.onInactiveMarkAs(
onInactiveMarkAs?.applyValue({ args0 ->
args0.transform(
{ args0 -> args0 },
{ 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()
})
})
}),
)
.waitTimeInSeconds(waitTimeInSeconds.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [WaitActivityArgs].
*/
@PulumiTagMarker
public class WaitActivityArgsBuilder internal constructor() {
private var dependsOn: Output>? = null
private var description: Output? = null
private var name: Output? = null
private var onInactiveMarkAs: Output>? = null
private var state: Output>? = null
private var type: Output? = null
private var userProperties: Output>? = null
private var waitTimeInSeconds: Output? = null
/**
* @param value Activity depends on condition.
*/
@JvmName("gohraektpqyrejxt")
public suspend fun dependsOn(`value`: Output>) {
this.dependsOn = value
}
@JvmName("oboeioikfqmapmqy")
public suspend fun dependsOn(vararg values: Output) {
this.dependsOn = Output.all(values.asList())
}
/**
* @param values Activity depends on condition.
*/
@JvmName("rrrianqggprcowtd")
public suspend fun dependsOn(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy