com.pulumi.gcp.accesscontextmanager.kotlin.inputs.AccessLevelsAccessLevelBasicArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.accesscontextmanager.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.accesscontextmanager.inputs.AccessLevelsAccessLevelBasicArgs.builder
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 combiningFunction How the conditions list should be combined to determine if a request
* is granted this AccessLevel. If AND is used, each Condition in
* conditions must be satisfied for the AccessLevel to be applied. If
* OR is used, at least one Condition in conditions must be satisfied
* for the AccessLevel to be applied.
* Default value is `AND`.
* Possible values are: `AND`, `OR`.
* @property conditions A set of requirements for the AccessLevel to be granted.
* Structure is documented below.
*/
public data class AccessLevelsAccessLevelBasicArgs(
public val combiningFunction: Output? = null,
public val conditions: Output>,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.accesscontextmanager.inputs.AccessLevelsAccessLevelBasicArgs = com.pulumi.gcp.accesscontextmanager.inputs.AccessLevelsAccessLevelBasicArgs.builder()
.combiningFunction(combiningFunction?.applyValue({ args0 -> args0 }))
.conditions(
conditions.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [AccessLevelsAccessLevelBasicArgs].
*/
@PulumiTagMarker
public class AccessLevelsAccessLevelBasicArgsBuilder internal constructor() {
private var combiningFunction: Output? = null
private var conditions: Output>? = null
/**
* @param value How the conditions list should be combined to determine if a request
* is granted this AccessLevel. If AND is used, each Condition in
* conditions must be satisfied for the AccessLevel to be applied. If
* OR is used, at least one Condition in conditions must be satisfied
* for the AccessLevel to be applied.
* Default value is `AND`.
* Possible values are: `AND`, `OR`.
*/
@JvmName("fynosqyntltodvri")
public suspend fun combiningFunction(`value`: Output) {
this.combiningFunction = value
}
/**
* @param value A set of requirements for the AccessLevel to be granted.
* Structure is documented below.
*/
@JvmName("scysutnutyghjjun")
public suspend fun conditions(`value`: Output>) {
this.conditions = value
}
@JvmName("ngijdscssyywoilr")
public suspend fun conditions(vararg values: Output) {
this.conditions = Output.all(values.asList())
}
/**
* @param values A set of requirements for the AccessLevel to be granted.
* Structure is documented below.
*/
@JvmName("gxegqlunsohiqoks")
public suspend fun conditions(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy