com.pulumi.cloudflare.kotlin.inputs.TunnelConfigConfigOriginRequestAccessArgs.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.TunnelConfigConfigOriginRequestAccessArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property audTags Audience tags of the access rule.
* @property required Whether the access rule is required.
* @property teamName Name of the team to which the access rule applies.
*/
public data class TunnelConfigConfigOriginRequestAccessArgs(
public val audTags: Output>? = null,
public val required: Output? = null,
public val teamName: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.cloudflare.inputs.TunnelConfigConfigOriginRequestAccessArgs =
com.pulumi.cloudflare.inputs.TunnelConfigConfigOriginRequestAccessArgs.builder()
.audTags(audTags?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.required(required?.applyValue({ args0 -> args0 }))
.teamName(teamName?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [TunnelConfigConfigOriginRequestAccessArgs].
*/
@PulumiTagMarker
public class TunnelConfigConfigOriginRequestAccessArgsBuilder internal constructor() {
private var audTags: Output>? = null
private var required: Output? = null
private var teamName: Output? = null
/**
* @param value Audience tags of the access rule.
*/
@JvmName("tmqpiivnasqepkct")
public suspend fun audTags(`value`: Output>) {
this.audTags = value
}
@JvmName("xeivpatgsugkgtdl")
public suspend fun audTags(vararg values: Output) {
this.audTags = Output.all(values.asList())
}
/**
* @param values Audience tags of the access rule.
*/
@JvmName("ovffssfuiusubyda")
public suspend fun audTags(values: List