com.pulumi.cloudflare.kotlin.inputs.AccessPolicyApprovalGroupArgs.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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.cloudflare.kotlin.inputs
import com.pulumi.cloudflare.inputs.AccessPolicyApprovalGroupArgs.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 AccessPolicyApprovalGroupArgs(
public val approvalsNeeded: Output,
public val emailAddresses: Output>? = null,
public val emailListUuid: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.cloudflare.inputs.AccessPolicyApprovalGroupArgs =
com.pulumi.cloudflare.inputs.AccessPolicyApprovalGroupArgs.builder()
.approvalsNeeded(approvalsNeeded.applyValue({ args0 -> args0 }))
.emailAddresses(emailAddresses?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.emailListUuid(emailListUuid?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AccessPolicyApprovalGroupArgs].
*/
@PulumiTagMarker
public class AccessPolicyApprovalGroupArgsBuilder internal constructor() {
private var approvalsNeeded: Output? = null
private var emailAddresses: Output>? = null
private var emailListUuid: Output? = null
/**
* @param value Number of approvals needed.
*/
@JvmName("jvopegiaddavgncm")
public suspend fun approvalsNeeded(`value`: Output) {
this.approvalsNeeded = value
}
/**
* @param value List of emails to request approval from.
*/
@JvmName("hipchyvtpevtaabh")
public suspend fun emailAddresses(`value`: Output>) {
this.emailAddresses = value
}
@JvmName("grghysjxmhrsanoq")
public suspend fun emailAddresses(vararg values: Output) {
this.emailAddresses = Output.all(values.asList())
}
/**
* @param values List of emails to request approval from.
*/
@JvmName("koohpckdgargabpe")
public suspend fun emailAddresses(values: List