com.pulumi.azurenative.storageactions.kotlin.inputs.ElseConditionArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.storageactions.kotlin.inputs
import com.pulumi.azurenative.storageactions.inputs.ElseConditionArgs.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.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The else block of storage task operation
* @property operations List of operations to execute in the else block
*/
public data class ElseConditionArgs(
public val operations: Output>,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.storageactions.inputs.ElseConditionArgs =
com.pulumi.azurenative.storageactions.inputs.ElseConditionArgs.builder()
.operations(
operations.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [ElseConditionArgs].
*/
@PulumiTagMarker
public class ElseConditionArgsBuilder internal constructor() {
private var operations: Output>? = null
/**
* @param value List of operations to execute in the else block
*/
@JvmName("lugwtxlsnwqwqden")
public suspend fun operations(`value`: Output>) {
this.operations = value
}
@JvmName("suxlviliqixwcfxl")
public suspend fun operations(vararg values: Output) {
this.operations = Output.all(values.asList())
}
/**
* @param values List of operations to execute in the else block
*/
@JvmName("ibrmssfcyqkoqbdq")
public suspend fun operations(values: List