![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.cloudflare.kotlin.inputs.ZoneSettingsOverrideSettingsSecurityHeaderArgs.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.ZoneSettingsOverrideSettingsSecurityHeaderArgs.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.Int
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property enabled
* @property includeSubdomains
* @property maxAge
* @property nosniff
* @property preload
*/
public data class ZoneSettingsOverrideSettingsSecurityHeaderArgs(
public val enabled: Output? = null,
public val includeSubdomains: Output? = null,
public val maxAge: Output? = null,
public val nosniff: Output? = null,
public val preload: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.cloudflare.inputs.ZoneSettingsOverrideSettingsSecurityHeaderArgs = com.pulumi.cloudflare.inputs.ZoneSettingsOverrideSettingsSecurityHeaderArgs.builder()
.enabled(enabled?.applyValue({ args0 -> args0 }))
.includeSubdomains(includeSubdomains?.applyValue({ args0 -> args0 }))
.maxAge(maxAge?.applyValue({ args0 -> args0 }))
.nosniff(nosniff?.applyValue({ args0 -> args0 }))
.preload(preload?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ZoneSettingsOverrideSettingsSecurityHeaderArgs].
*/
@PulumiTagMarker
public class ZoneSettingsOverrideSettingsSecurityHeaderArgsBuilder internal constructor() {
private var enabled: Output? = null
private var includeSubdomains: Output? = null
private var maxAge: Output? = null
private var nosniff: Output? = null
private var preload: Output? = null
/**
* @param value
*/
@JvmName("geeyemedfghqtvqv")
public suspend fun enabled(`value`: Output) {
this.enabled = value
}
/**
* @param value
*/
@JvmName("dmavdskqeqxajray")
public suspend fun includeSubdomains(`value`: Output) {
this.includeSubdomains = value
}
/**
* @param value
*/
@JvmName("givdjiwoatsgvhkq")
public suspend fun maxAge(`value`: Output) {
this.maxAge = value
}
/**
* @param value
*/
@JvmName("nrxdonbciobegfsg")
public suspend fun nosniff(`value`: Output) {
this.nosniff = value
}
/**
* @param value
*/
@JvmName("dboykxngradeejcx")
public suspend fun preload(`value`: Output) {
this.preload = value
}
/**
* @param value
*/
@JvmName("jaywpussctcjlvci")
public suspend fun enabled(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.enabled = mapped
}
/**
* @param value
*/
@JvmName("kgmghdbdqkqourhb")
public suspend fun includeSubdomains(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.includeSubdomains = mapped
}
/**
* @param value
*/
@JvmName("srqwsdtekwliajke")
public suspend fun maxAge(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.maxAge = mapped
}
/**
* @param value
*/
@JvmName("gtdtgloedgrohtvr")
public suspend fun nosniff(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.nosniff = mapped
}
/**
* @param value
*/
@JvmName("heygspjkfirqvtgt")
public suspend fun preload(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.preload = mapped
}
internal fun build(): ZoneSettingsOverrideSettingsSecurityHeaderArgs =
ZoneSettingsOverrideSettingsSecurityHeaderArgs(
enabled = enabled,
includeSubdomains = includeSubdomains,
maxAge = maxAge,
nosniff = nosniff,
preload = preload,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy