![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.chaosstudio.kotlin.inputs.ExperimentStepBranchArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.chaosstudio.kotlin.inputs
import com.pulumi.azure.chaosstudio.inputs.ExperimentStepBranchArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property actions One or more `actions` blocks as defined above.
* @property name The name of the branch.
*/
public data class ExperimentStepBranchArgs(
public val actions: Output>,
public val name: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.chaosstudio.inputs.ExperimentStepBranchArgs =
com.pulumi.azure.chaosstudio.inputs.ExperimentStepBranchArgs.builder()
.actions(
actions.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.name(name.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ExperimentStepBranchArgs].
*/
@PulumiTagMarker
public class ExperimentStepBranchArgsBuilder internal constructor() {
private var actions: Output>? = null
private var name: Output? = null
/**
* @param value One or more `actions` blocks as defined above.
*/
@JvmName("clgivnqdwlnxhafa")
public suspend fun actions(`value`: Output>) {
this.actions = value
}
@JvmName("eghhrmfeaeddjtfs")
public suspend fun actions(vararg values: Output) {
this.actions = Output.all(values.asList())
}
/**
* @param values One or more `actions` blocks as defined above.
*/
@JvmName("ylidaqbnjpmwfqom")
public suspend fun actions(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy