com.pulumi.cloudflare.kotlin.outputs.ZoneSettingsOverrideInitialSettingSecurityHeader.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.outputs
import kotlin.Boolean
import kotlin.Int
import kotlin.Suppress
/**
*
* @property enabled
* @property includeSubdomains
* @property maxAge
* @property nosniff
* @property preload
*/
public data class ZoneSettingsOverrideInitialSettingSecurityHeader(
public val enabled: Boolean? = null,
public val includeSubdomains: Boolean? = null,
public val maxAge: Int? = null,
public val nosniff: Boolean? = null,
public val preload: Boolean? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.ZoneSettingsOverrideInitialSettingSecurityHeader): ZoneSettingsOverrideInitialSettingSecurityHeader =
ZoneSettingsOverrideInitialSettingSecurityHeader(
enabled = javaType.enabled().map({ args0 -> args0 }).orElse(null),
includeSubdomains = javaType.includeSubdomains().map({ args0 -> args0 }).orElse(null),
maxAge = javaType.maxAge().map({ args0 -> args0 }).orElse(null),
nosniff = javaType.nosniff().map({ args0 -> args0 }).orElse(null),
preload = javaType.preload().map({ args0 -> args0 }).orElse(null),
)
}
}