com.pulumi.cloudflare.kotlin.outputs.ZeroTrustAccessPolicyApprovalGroup.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.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property approvalsNeeded Number of approvals needed.
* @property emailAddresses List of emails to request approval from.
* @property emailListUuid
*/
public data class ZeroTrustAccessPolicyApprovalGroup(
public val approvalsNeeded: Int,
public val emailAddresses: List? = null,
public val emailListUuid: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.ZeroTrustAccessPolicyApprovalGroup): ZeroTrustAccessPolicyApprovalGroup = ZeroTrustAccessPolicyApprovalGroup(
approvalsNeeded = javaType.approvalsNeeded(),
emailAddresses = javaType.emailAddresses().map({ args0 -> args0 }),
emailListUuid = javaType.emailListUuid().map({ args0 -> args0 }).orElse(null),
)
}
}