com.pulumi.cloudflare.kotlin.inputs.ZeroTrustAccessPolicyApprovalGroupArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-cloudflare-kotlin Show documentation
Show all versions of pulumi-cloudflare-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.cloudflare.kotlin.inputs
import com.pulumi.cloudflare.inputs.ZeroTrustAccessPolicyApprovalGroupArgs.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 kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property approvalsNeeded Number of approvals needed.
* @property emailAddresses List of emails to request approval from.
* @property emailListUuid
*/
public data class ZeroTrustAccessPolicyApprovalGroupArgs(
public val approvalsNeeded: Output,
public val emailAddresses: Output>? = null,
public val emailListUuid: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.cloudflare.inputs.ZeroTrustAccessPolicyApprovalGroupArgs =
com.pulumi.cloudflare.inputs.ZeroTrustAccessPolicyApprovalGroupArgs.builder()
.approvalsNeeded(approvalsNeeded.applyValue({ args0 -> args0 }))
.emailAddresses(emailAddresses?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.emailListUuid(emailListUuid?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ZeroTrustAccessPolicyApprovalGroupArgs].
*/
@PulumiTagMarker
public class ZeroTrustAccessPolicyApprovalGroupArgsBuilder internal constructor() {
private var approvalsNeeded: Output? = null
private var emailAddresses: Output>? = null
private var emailListUuid: Output? = null
/**
* @param value Number of approvals needed.
*/
@JvmName("eorxiywkkxwscthn")
public suspend fun approvalsNeeded(`value`: Output) {
this.approvalsNeeded = value
}
/**
* @param value List of emails to request approval from.
*/
@JvmName("obgohpmpynohtruo")
public suspend fun emailAddresses(`value`: Output>) {
this.emailAddresses = value
}
@JvmName("sqfnwhrwchnimohg")
public suspend fun emailAddresses(vararg values: Output) {
this.emailAddresses = Output.all(values.asList())
}
/**
* @param values List of emails to request approval from.
*/
@JvmName("smcjsaqiacbmbgxe")
public suspend fun emailAddresses(values: List