com.pulumi.cloudflare.kotlin.inputs.GetZeroTrustAccessApplicationPlainArgs.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.GetZeroTrustAccessApplicationPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* A collection of arguments for invoking getZeroTrustAccessApplication.
* @property accountId The account identifier to target for the resource. Must provide only one of `zone_id`, `account_id`.
* @property domain The primary hostname and path that Access will secure. Must provide only one of `name`, `domain`.
* @property name Friendly name of the Access Application. Must provide only one of `name`, `domain`.
* @property zoneId The zone identifier to target for the resource. Must provide only one of `zone_id`, `account_id`.
*/
public data class GetZeroTrustAccessApplicationPlainArgs(
public val accountId: String? = null,
public val domain: String? = null,
public val name: String? = null,
public val zoneId: String? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.cloudflare.inputs.GetZeroTrustAccessApplicationPlainArgs =
com.pulumi.cloudflare.inputs.GetZeroTrustAccessApplicationPlainArgs.builder()
.accountId(accountId?.let({ args0 -> args0 }))
.domain(domain?.let({ args0 -> args0 }))
.name(name?.let({ args0 -> args0 }))
.zoneId(zoneId?.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetZeroTrustAccessApplicationPlainArgs].
*/
@PulumiTagMarker
public class GetZeroTrustAccessApplicationPlainArgsBuilder internal constructor() {
private var accountId: String? = null
private var domain: String? = null
private var name: String? = null
private var zoneId: String? = null
/**
* @param value The account identifier to target for the resource. Must provide only one of `zone_id`, `account_id`.
*/
@JvmName("flsjnvwdryfwmtot")
public suspend fun accountId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.accountId = mapped
}
/**
* @param value The primary hostname and path that Access will secure. Must provide only one of `name`, `domain`.
*/
@JvmName("bcyhrvxwwaydkefn")
public suspend fun domain(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.domain = mapped
}
/**
* @param value Friendly name of the Access Application. Must provide only one of `name`, `domain`.
*/
@JvmName("aufnpifgcmhusein")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.name = mapped
}
/**
* @param value The zone identifier to target for the resource. Must provide only one of `zone_id`, `account_id`.
*/
@JvmName("xfspejpwwsujgfhs")
public suspend fun zoneId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.zoneId = mapped
}
internal fun build(): GetZeroTrustAccessApplicationPlainArgs =
GetZeroTrustAccessApplicationPlainArgs(
accountId = accountId,
domain = domain,
name = name,
zoneId = zoneId,
)
}