com.pulumi.cloudflare.kotlin.inputs.ZeroTrustDexTestDataArgs.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.ZeroTrustDexTestDataArgs.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.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property host The host URL for `http` test `kind`. For `traceroute`, it must be a valid hostname or IP address.
* @property kind The type of Device Dex Test. Available values: `http`, `traceroute`.
* @property method The http request method. Available values: `GET`.
*/
public data class ZeroTrustDexTestDataArgs(
public val host: Output,
public val kind: Output,
public val method: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.cloudflare.inputs.ZeroTrustDexTestDataArgs =
com.pulumi.cloudflare.inputs.ZeroTrustDexTestDataArgs.builder()
.host(host.applyValue({ args0 -> args0 }))
.kind(kind.applyValue({ args0 -> args0 }))
.method(method?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ZeroTrustDexTestDataArgs].
*/
@PulumiTagMarker
public class ZeroTrustDexTestDataArgsBuilder internal constructor() {
private var host: Output? = null
private var kind: Output? = null
private var method: Output? = null
/**
* @param value The host URL for `http` test `kind`. For `traceroute`, it must be a valid hostname or IP address.
*/
@JvmName("pbsfwuohagawdpwb")
public suspend fun host(`value`: Output) {
this.host = value
}
/**
* @param value The type of Device Dex Test. Available values: `http`, `traceroute`.
*/
@JvmName("baiuypdcebyvjtop")
public suspend fun kind(`value`: Output) {
this.kind = value
}
/**
* @param value The http request method. Available values: `GET`.
*/
@JvmName("olpjulhhoyfdjeud")
public suspend fun method(`value`: Output) {
this.method = value
}
/**
* @param value The host URL for `http` test `kind`. For `traceroute`, it must be a valid hostname or IP address.
*/
@JvmName("wcbpssonfenhxrai")
public suspend fun host(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.host = mapped
}
/**
* @param value The type of Device Dex Test. Available values: `http`, `traceroute`.
*/
@JvmName("ioxniqmtyfnmuxpv")
public suspend fun kind(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.kind = mapped
}
/**
* @param value The http request method. Available values: `GET`.
*/
@JvmName("arxrwtpxbgibmqdm")
public suspend fun method(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.method = mapped
}
internal fun build(): ZeroTrustDexTestDataArgs = ZeroTrustDexTestDataArgs(
host = host ?: throw PulumiNullFieldException("host"),
kind = kind ?: throw PulumiNullFieldException("kind"),
method = method,
)
}