
com.pulumi.azurenative.powerplatform.kotlin.inputs.PropertiesLockboxArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.powerplatform.kotlin.inputs
import com.pulumi.azurenative.powerplatform.inputs.PropertiesLockboxArgs.builder
import com.pulumi.azurenative.powerplatform.kotlin.enums.State
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.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Settings concerning lockbox.
* @property state lockbox configuration
*/
public data class PropertiesLockboxArgs(
public val state: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.powerplatform.inputs.PropertiesLockboxArgs =
com.pulumi.azurenative.powerplatform.inputs.PropertiesLockboxArgs.builder()
.state(
state?.applyValue({ args0 ->
args0.transform({ args0 -> args0 }, { args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [PropertiesLockboxArgs].
*/
@PulumiTagMarker
public class PropertiesLockboxArgsBuilder internal constructor() {
private var state: Output>? = null
/**
* @param value lockbox configuration
*/
@JvmName("klondwvthbafaywq")
public suspend fun state(`value`: Output>) {
this.state = value
}
/**
* @param value lockbox configuration
*/
@JvmName("rbdnywanotdmwbvf")
public suspend fun state(`value`: Either?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.state = mapped
}
/**
* @param value lockbox configuration
*/
@JvmName("natcrpedivftwbct")
public fun state(`value`: String) {
val toBeMapped = Either.ofLeft(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.state = mapped
}
/**
* @param value lockbox configuration
*/
@JvmName("snygxberaueidobg")
public fun state(`value`: State) {
val toBeMapped = Either.ofRight(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.state = mapped
}
internal fun build(): PropertiesLockboxArgs = PropertiesLockboxArgs(
state = state,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy