com.pulumi.cloudflare.kotlin.inputs.HealthcheckHeaderArgs.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.HealthcheckHeaderArgs.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.collections.List
import kotlin.jvm.JvmName
/**
*
* @property header The header name.
* @property values A list of string values for the header.
*/
public data class HealthcheckHeaderArgs(
public val `header`: Output,
public val values: Output>,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.cloudflare.inputs.HealthcheckHeaderArgs =
com.pulumi.cloudflare.inputs.HealthcheckHeaderArgs.builder()
.`header`(`header`.applyValue({ args0 -> args0 }))
.values(values.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [HealthcheckHeaderArgs].
*/
@PulumiTagMarker
public class HealthcheckHeaderArgsBuilder internal constructor() {
private var `header`: Output? = null
private var values: Output>? = null
/**
* @param value The header name.
*/
@JvmName("hdkogbapqdseffrf")
public suspend fun `header`(`value`: Output) {
this.`header` = value
}
/**
* @param value A list of string values for the header.
*/
@JvmName("nceoqtckndbbowyt")
public suspend fun values(`value`: Output>) {
this.values = value
}
@JvmName("rpetuehiaqhrjrip")
public suspend fun values(vararg values: Output) {
this.values = Output.all(values.asList())
}
/**
* @param values A list of string values for the header.
*/
@JvmName("hiwvahkrcaxaxmpf")
public suspend fun values(values: List