![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.cloudflare.kotlin.inputs.ZeroTrustAccessApplicationTargetCriteriaArgs.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.ZeroTrustAccessApplicationTargetCriteriaArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property port The port that the targets use for the chosen communication protocol. A port cannot be assigned to multiple protocols.
* @property protocol The communication protocol your application secures.
* @property targetAttributes Contains a map of target attribute keys to target attribute values.
*/
public data class ZeroTrustAccessApplicationTargetCriteriaArgs(
public val port: Output,
public val protocol: Output,
public val targetAttributes: Output>,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.cloudflare.inputs.ZeroTrustAccessApplicationTargetCriteriaArgs =
com.pulumi.cloudflare.inputs.ZeroTrustAccessApplicationTargetCriteriaArgs.builder()
.port(port.applyValue({ args0 -> args0 }))
.protocol(protocol.applyValue({ args0 -> args0 }))
.targetAttributes(
targetAttributes.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [ZeroTrustAccessApplicationTargetCriteriaArgs].
*/
@PulumiTagMarker
public class ZeroTrustAccessApplicationTargetCriteriaArgsBuilder internal constructor() {
private var port: Output? = null
private var protocol: Output? = null
private var targetAttributes:
Output>? = null
/**
* @param value The port that the targets use for the chosen communication protocol. A port cannot be assigned to multiple protocols.
*/
@JvmName("kmmsirycgpamunhy")
public suspend fun port(`value`: Output) {
this.port = value
}
/**
* @param value The communication protocol your application secures.
*/
@JvmName("rlxsqurybpnmujwn")
public suspend fun protocol(`value`: Output) {
this.protocol = value
}
/**
* @param value Contains a map of target attribute keys to target attribute values.
*/
@JvmName("fwegopxiakbobnie")
public suspend fun targetAttributes(`value`: Output>) {
this.targetAttributes = value
}
@JvmName("dfsvvxulbmqomgrh")
public suspend fun targetAttributes(vararg values: Output) {
this.targetAttributes = Output.all(values.asList())
}
/**
* @param values Contains a map of target attribute keys to target attribute values.
*/
@JvmName("solruhipciwpuqlh")
public suspend fun targetAttributes(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy