com.pulumi.azurenative.authorization.kotlin.inputs.OverrideArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.authorization.kotlin.inputs
import com.pulumi.azurenative.authorization.inputs.OverrideArgs.builder
import com.pulumi.azurenative.authorization.kotlin.enums.OverrideKind
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 com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The policy property value override.
* @property kind The override kind.
* @property selectors The list of the selector expressions.
* @property value The value to override the policy property.
*/
public data class OverrideArgs(
public val kind: Output>? = null,
public val selectors: Output>? = null,
public val `value`: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.authorization.inputs.OverrideArgs =
com.pulumi.azurenative.authorization.inputs.OverrideArgs.builder()
.kind(
kind?.applyValue({ args0 ->
args0.transform({ args0 -> args0 }, { args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.selectors(
selectors?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.`value`(`value`?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [OverrideArgs].
*/
@PulumiTagMarker
public class OverrideArgsBuilder internal constructor() {
private var kind: Output>? = null
private var selectors: Output>? = null
private var `value`: Output? = null
/**
* @param value The override kind.
*/
@JvmName("vbeeduuorjytoofr")
public suspend fun kind(`value`: Output>) {
this.kind = value
}
/**
* @param value The list of the selector expressions.
*/
@JvmName("ovtpxcximkocdsah")
public suspend fun selectors(`value`: Output>) {
this.selectors = value
}
@JvmName("bcdidnhjaoiagorl")
public suspend fun selectors(vararg values: Output) {
this.selectors = Output.all(values.asList())
}
/**
* @param values The list of the selector expressions.
*/
@JvmName("fxirmwwwqcnsjves")
public suspend fun selectors(values: List