All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.cloudflare.kotlin.outputs.ZoneSettingsOverrideInitialSettingSecurityHeader.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 5.40.0.0
Show newest version
@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),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy