Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.pulumi.cloudflare.kotlin.inputs.ZoneSettingsOverrideSettingsArgs.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.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.cloudflare.kotlin.inputs
import com.pulumi.cloudflare.inputs.ZoneSettingsOverrideSettingsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Deprecated
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property alwaysOnline
* @property alwaysUseHttps
* @property automaticHttpsRewrites
* @property binaryAst
* @property brotli
* @property browserCacheTtl
* @property browserCheck
* @property cacheLevel
* @property challengeTtl
* @property ciphers
* @property cnameFlattening
* @property developmentMode
* @property earlyHints
* @property emailObfuscation
* @property filterLogsToCloudflare
* @property fonts
* @property h2Prioritization
* @property hotlinkProtection
* @property http2
* @property http3
* @property imageResizing
* @property ipGeolocation
* @property ipv6
* @property logToCloudflare
* @property maxUpload
* @property minTlsVersion
* @property minify
* @property mirage
* @property mobileRedirect
* @property nel
* @property opportunisticEncryption
* @property opportunisticOnion
* @property orangeToOrange
* @property originErrorPagePassThru
* @property originMaxHttpVersion
* @property polish
* @property prefetchPreload
* @property privacyPass
* @property proxyReadTimeout
* @property pseudoIpv4
* @property replaceInsecureJs
* @property responseBuffering
* @property rocketLoader
* @property securityHeader
* @property securityLevel
* @property serverSideExclude
* @property sortQueryStringForCache
* @property speedBrain
* @property ssl
* @property tls12Only
* @property tls13
* @property tlsClientAuth
* @property trueClientIpHeader
* @property universalSsl
* @property visitorIp
* @property waf
* @property webp
* @property websockets
* @property zeroRtt
*/
public data class ZoneSettingsOverrideSettingsArgs(
public val alwaysOnline: Output? = null,
public val alwaysUseHttps: Output? = null,
public val automaticHttpsRewrites: Output? = null,
public val binaryAst: Output? = null,
public val brotli: Output? = null,
public val browserCacheTtl: Output? = null,
public val browserCheck: Output? = null,
public val cacheLevel: Output? = null,
public val challengeTtl: Output? = null,
public val ciphers: Output>? = null,
public val cnameFlattening: Output? = null,
public val developmentMode: Output? = null,
public val earlyHints: Output? = null,
public val emailObfuscation: Output? = null,
public val filterLogsToCloudflare: Output? = null,
public val fonts: Output? = null,
public val h2Prioritization: Output? = null,
public val hotlinkProtection: Output? = null,
public val http2: Output? = null,
public val http3: Output? = null,
public val imageResizing: Output? = null,
public val ipGeolocation: Output? = null,
public val ipv6: Output? = null,
public val logToCloudflare: Output? = null,
public val maxUpload: Output? = null,
public val minTlsVersion: Output? = null,
public val minify: Output? = null,
public val mirage: Output? = null,
@Deprecated(
message = """
Mobile redirects has been deprecated and disabled in favour of [Single
Redirects](https://developers.cloudflare.com/rules/url-forwarding/single-redirects/) and are
no longer configurable using the API. Refer to [Perform mobile
redirects](https://developers.cloudflare.com/rules/url-forwarding/single-redirects/examples/#perform-mobile-redirects)
for examples of performing mobile redirects with Single Redirects.
""",
)
public val mobileRedirect: Output? = null,
public val nel: Output? = null,
public val opportunisticEncryption: Output? = null,
public val opportunisticOnion: Output? = null,
public val orangeToOrange: Output? = null,
public val originErrorPagePassThru: Output? = null,
public val originMaxHttpVersion: Output? = null,
public val polish: Output? = null,
public val prefetchPreload: Output? = null,
public val privacyPass: Output? = null,
public val proxyReadTimeout: Output? = null,
public val pseudoIpv4: Output? = null,
public val replaceInsecureJs: Output? = null,
public val responseBuffering: Output? = null,
public val rocketLoader: Output? = null,
public val securityHeader: Output? = null,
public val securityLevel: Output? = null,
public val serverSideExclude: Output? = null,
public val sortQueryStringForCache: Output? = null,
public val speedBrain: Output? = null,
public val ssl: Output? = null,
@Deprecated(
message = """
tls_1_2_only has been deprecated in favour of using `min_tls_version = "1.2"` instead.
""",
)
public val tls12Only: Output? = null,
public val tls13: Output? = null,
public val tlsClientAuth: Output? = null,
public val trueClientIpHeader: Output? = null,
public val universalSsl: Output? = null,
public val visitorIp: Output? = null,
public val waf: Output? = null,
public val webp: Output? = null,
public val websockets: Output? = null,
public val zeroRtt: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.cloudflare.inputs.ZoneSettingsOverrideSettingsArgs =
com.pulumi.cloudflare.inputs.ZoneSettingsOverrideSettingsArgs.builder()
.alwaysOnline(alwaysOnline?.applyValue({ args0 -> args0 }))
.alwaysUseHttps(alwaysUseHttps?.applyValue({ args0 -> args0 }))
.automaticHttpsRewrites(automaticHttpsRewrites?.applyValue({ args0 -> args0 }))
.binaryAst(binaryAst?.applyValue({ args0 -> args0 }))
.brotli(brotli?.applyValue({ args0 -> args0 }))
.browserCacheTtl(browserCacheTtl?.applyValue({ args0 -> args0 }))
.browserCheck(browserCheck?.applyValue({ args0 -> args0 }))
.cacheLevel(cacheLevel?.applyValue({ args0 -> args0 }))
.challengeTtl(challengeTtl?.applyValue({ args0 -> args0 }))
.ciphers(ciphers?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.cnameFlattening(cnameFlattening?.applyValue({ args0 -> args0 }))
.developmentMode(developmentMode?.applyValue({ args0 -> args0 }))
.earlyHints(earlyHints?.applyValue({ args0 -> args0 }))
.emailObfuscation(emailObfuscation?.applyValue({ args0 -> args0 }))
.filterLogsToCloudflare(filterLogsToCloudflare?.applyValue({ args0 -> args0 }))
.fonts(fonts?.applyValue({ args0 -> args0 }))
.h2Prioritization(h2Prioritization?.applyValue({ args0 -> args0 }))
.hotlinkProtection(hotlinkProtection?.applyValue({ args0 -> args0 }))
.http2(http2?.applyValue({ args0 -> args0 }))
.http3(http3?.applyValue({ args0 -> args0 }))
.imageResizing(imageResizing?.applyValue({ args0 -> args0 }))
.ipGeolocation(ipGeolocation?.applyValue({ args0 -> args0 }))
.ipv6(ipv6?.applyValue({ args0 -> args0 }))
.logToCloudflare(logToCloudflare?.applyValue({ args0 -> args0 }))
.maxUpload(maxUpload?.applyValue({ args0 -> args0 }))
.minTlsVersion(minTlsVersion?.applyValue({ args0 -> args0 }))
.minify(minify?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.mirage(mirage?.applyValue({ args0 -> args0 }))
.mobileRedirect(mobileRedirect?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.nel(nel?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.opportunisticEncryption(opportunisticEncryption?.applyValue({ args0 -> args0 }))
.opportunisticOnion(opportunisticOnion?.applyValue({ args0 -> args0 }))
.orangeToOrange(orangeToOrange?.applyValue({ args0 -> args0 }))
.originErrorPagePassThru(originErrorPagePassThru?.applyValue({ args0 -> args0 }))
.originMaxHttpVersion(originMaxHttpVersion?.applyValue({ args0 -> args0 }))
.polish(polish?.applyValue({ args0 -> args0 }))
.prefetchPreload(prefetchPreload?.applyValue({ args0 -> args0 }))
.privacyPass(privacyPass?.applyValue({ args0 -> args0 }))
.proxyReadTimeout(proxyReadTimeout?.applyValue({ args0 -> args0 }))
.pseudoIpv4(pseudoIpv4?.applyValue({ args0 -> args0 }))
.replaceInsecureJs(replaceInsecureJs?.applyValue({ args0 -> args0 }))
.responseBuffering(responseBuffering?.applyValue({ args0 -> args0 }))
.rocketLoader(rocketLoader?.applyValue({ args0 -> args0 }))
.securityHeader(securityHeader?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.securityLevel(securityLevel?.applyValue({ args0 -> args0 }))
.serverSideExclude(serverSideExclude?.applyValue({ args0 -> args0 }))
.sortQueryStringForCache(sortQueryStringForCache?.applyValue({ args0 -> args0 }))
.speedBrain(speedBrain?.applyValue({ args0 -> args0 }))
.ssl(ssl?.applyValue({ args0 -> args0 }))
.tls12Only(tls12Only?.applyValue({ args0 -> args0 }))
.tls13(tls13?.applyValue({ args0 -> args0 }))
.tlsClientAuth(tlsClientAuth?.applyValue({ args0 -> args0 }))
.trueClientIpHeader(trueClientIpHeader?.applyValue({ args0 -> args0 }))
.universalSsl(universalSsl?.applyValue({ args0 -> args0 }))
.visitorIp(visitorIp?.applyValue({ args0 -> args0 }))
.waf(waf?.applyValue({ args0 -> args0 }))
.webp(webp?.applyValue({ args0 -> args0 }))
.websockets(websockets?.applyValue({ args0 -> args0 }))
.zeroRtt(zeroRtt?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ZoneSettingsOverrideSettingsArgs].
*/
@PulumiTagMarker
public class ZoneSettingsOverrideSettingsArgsBuilder internal constructor() {
private var alwaysOnline: Output? = null
private var alwaysUseHttps: Output? = null
private var automaticHttpsRewrites: Output? = null
private var binaryAst: Output? = null
private var brotli: Output? = null
private var browserCacheTtl: Output? = null
private var browserCheck: Output? = null
private var cacheLevel: Output? = null
private var challengeTtl: Output? = null
private var ciphers: Output>? = null
private var cnameFlattening: Output? = null
private var developmentMode: Output? = null
private var earlyHints: Output? = null
private var emailObfuscation: Output? = null
private var filterLogsToCloudflare: Output? = null
private var fonts: Output? = null
private var h2Prioritization: Output? = null
private var hotlinkProtection: Output? = null
private var http2: Output? = null
private var http3: Output? = null
private var imageResizing: Output? = null
private var ipGeolocation: Output? = null
private var ipv6: Output? = null
private var logToCloudflare: Output? = null
private var maxUpload: Output? = null
private var minTlsVersion: Output? = null
private var minify: Output? = null
private var mirage: Output? = null
private var mobileRedirect: Output? = null
private var nel: Output? = null
private var opportunisticEncryption: Output? = null
private var opportunisticOnion: Output? = null
private var orangeToOrange: Output? = null
private var originErrorPagePassThru: Output? = null
private var originMaxHttpVersion: Output? = null
private var polish: Output? = null
private var prefetchPreload: Output? = null
private var privacyPass: Output? = null
private var proxyReadTimeout: Output? = null
private var pseudoIpv4: Output? = null
private var replaceInsecureJs: Output? = null
private var responseBuffering: Output? = null
private var rocketLoader: Output? = null
private var securityHeader: Output? = null
private var securityLevel: Output? = null
private var serverSideExclude: Output? = null
private var sortQueryStringForCache: Output? = null
private var speedBrain: Output? = null
private var ssl: Output? = null
private var tls12Only: Output? = null
private var tls13: Output? = null
private var tlsClientAuth: Output? = null
private var trueClientIpHeader: Output? = null
private var universalSsl: Output? = null
private var visitorIp: Output? = null
private var waf: Output? = null
private var webp: Output? = null
private var websockets: Output? = null
private var zeroRtt: Output? = null
/**
* @param value
*/
@JvmName("lwaxcighlvpmhikm")
public suspend fun alwaysOnline(`value`: Output) {
this.alwaysOnline = value
}
/**
* @param value
*/
@JvmName("ijmwjhfrnsnmatwc")
public suspend fun alwaysUseHttps(`value`: Output) {
this.alwaysUseHttps = value
}
/**
* @param value
*/
@JvmName("vrscltlxqsditshu")
public suspend fun automaticHttpsRewrites(`value`: Output) {
this.automaticHttpsRewrites = value
}
/**
* @param value
*/
@JvmName("jdrjuikyupblwkew")
public suspend fun binaryAst(`value`: Output) {
this.binaryAst = value
}
/**
* @param value
*/
@JvmName("hjpwwgkkkwrbnybd")
public suspend fun brotli(`value`: Output) {
this.brotli = value
}
/**
* @param value
*/
@JvmName("prhbhmhlovvoeqwq")
public suspend fun browserCacheTtl(`value`: Output) {
this.browserCacheTtl = value
}
/**
* @param value
*/
@JvmName("shtqwsodhwerxmmv")
public suspend fun browserCheck(`value`: Output) {
this.browserCheck = value
}
/**
* @param value
*/
@JvmName("glgcrenwoidasgau")
public suspend fun cacheLevel(`value`: Output) {
this.cacheLevel = value
}
/**
* @param value
*/
@JvmName("hmqbeqjlqsgsghnm")
public suspend fun challengeTtl(`value`: Output) {
this.challengeTtl = value
}
/**
* @param value
*/
@JvmName("jqqefhmbaerkwmfj")
public suspend fun ciphers(`value`: Output>) {
this.ciphers = value
}
@JvmName("wbbnpyficjcwjbtk")
public suspend fun ciphers(vararg values: Output) {
this.ciphers = Output.all(values.asList())
}
/**
* @param values
*/
@JvmName("snhpxspotkvvdglv")
public suspend fun ciphers(values: List>) {
this.ciphers = Output.all(values)
}
/**
* @param value
*/
@JvmName("dtafmtxvkqucgsnu")
public suspend fun cnameFlattening(`value`: Output) {
this.cnameFlattening = value
}
/**
* @param value
*/
@JvmName("wpbmjmyelooixavk")
public suspend fun developmentMode(`value`: Output) {
this.developmentMode = value
}
/**
* @param value
*/
@JvmName("uwhbeccaoncaflfi")
public suspend fun earlyHints(`value`: Output) {
this.earlyHints = value
}
/**
* @param value
*/
@JvmName("epetmjmsspejbvxa")
public suspend fun emailObfuscation(`value`: Output) {
this.emailObfuscation = value
}
/**
* @param value
*/
@JvmName("gnxecovkewoxllxr")
public suspend fun filterLogsToCloudflare(`value`: Output) {
this.filterLogsToCloudflare = value
}
/**
* @param value
*/
@JvmName("jixjifkxkaopjquc")
public suspend fun fonts(`value`: Output) {
this.fonts = value
}
/**
* @param value
*/
@JvmName("yqyjmeqomoyslyhv")
public suspend fun h2Prioritization(`value`: Output) {
this.h2Prioritization = value
}
/**
* @param value
*/
@JvmName("vpryppsdawxxteya")
public suspend fun hotlinkProtection(`value`: Output) {
this.hotlinkProtection = value
}
/**
* @param value
*/
@JvmName("ueplhaonwglnmxvv")
public suspend fun http2(`value`: Output) {
this.http2 = value
}
/**
* @param value
*/
@JvmName("onuakslwpfnwermd")
public suspend fun http3(`value`: Output) {
this.http3 = value
}
/**
* @param value
*/
@JvmName("wyegtmyeslhosjxa")
public suspend fun imageResizing(`value`: Output) {
this.imageResizing = value
}
/**
* @param value
*/
@JvmName("crfnlohirxuqkcpw")
public suspend fun ipGeolocation(`value`: Output) {
this.ipGeolocation = value
}
/**
* @param value
*/
@JvmName("deejgcobqakwkykm")
public suspend fun ipv6(`value`: Output) {
this.ipv6 = value
}
/**
* @param value
*/
@JvmName("ctkugunihvxghbib")
public suspend fun logToCloudflare(`value`: Output) {
this.logToCloudflare = value
}
/**
* @param value
*/
@JvmName("jjxvocalecjwebyu")
public suspend fun maxUpload(`value`: Output) {
this.maxUpload = value
}
/**
* @param value
*/
@JvmName("itsamdfpqtbewdat")
public suspend fun minTlsVersion(`value`: Output) {
this.minTlsVersion = value
}
/**
* @param value
*/
@JvmName("owvtqsurvkuxygeu")
public suspend fun minify(`value`: Output) {
this.minify = value
}
/**
* @param value
*/
@JvmName("plfjsfgqfwnexvdm")
public suspend fun mirage(`value`: Output) {
this.mirage = value
}
/**
* @param value
*/
@Deprecated(
message = """
Mobile redirects has been deprecated and disabled in favour of [Single
Redirects](https://developers.cloudflare.com/rules/url-forwarding/single-redirects/) and are
no longer configurable using the API. Refer to [Perform mobile
redirects](https://developers.cloudflare.com/rules/url-forwarding/single-redirects/examples/#perform-mobile-redirects)
for examples of performing mobile redirects with Single Redirects.
""",
)
@JvmName("jxipyxocqwrfcwcr")
public suspend fun mobileRedirect(`value`: Output) {
this.mobileRedirect = value
}
/**
* @param value
*/
@JvmName("rchcqcyuhngvotvj")
public suspend fun nel(`value`: Output) {
this.nel = value
}
/**
* @param value
*/
@JvmName("ovshpcxsqtisfdph")
public suspend fun opportunisticEncryption(`value`: Output) {
this.opportunisticEncryption = value
}
/**
* @param value
*/
@JvmName("qthgsatmlcnixnwn")
public suspend fun opportunisticOnion(`value`: Output) {
this.opportunisticOnion = value
}
/**
* @param value
*/
@JvmName("yftrsrknhigndudr")
public suspend fun orangeToOrange(`value`: Output) {
this.orangeToOrange = value
}
/**
* @param value
*/
@JvmName("eoydpqqymgtdcpyg")
public suspend fun originErrorPagePassThru(`value`: Output) {
this.originErrorPagePassThru = value
}
/**
* @param value
*/
@JvmName("qwtfjnrhngflftje")
public suspend fun originMaxHttpVersion(`value`: Output) {
this.originMaxHttpVersion = value
}
/**
* @param value
*/
@JvmName("tqbkmmmxaulpfnsd")
public suspend fun polish(`value`: Output) {
this.polish = value
}
/**
* @param value
*/
@JvmName("synhqknvbdynlnuc")
public suspend fun prefetchPreload(`value`: Output) {
this.prefetchPreload = value
}
/**
* @param value
*/
@JvmName("lybxluryhtcskuar")
public suspend fun privacyPass(`value`: Output) {
this.privacyPass = value
}
/**
* @param value
*/
@JvmName("nhnqibpktdisppnv")
public suspend fun proxyReadTimeout(`value`: Output) {
this.proxyReadTimeout = value
}
/**
* @param value
*/
@JvmName("yphqqetfltmwjben")
public suspend fun pseudoIpv4(`value`: Output) {
this.pseudoIpv4 = value
}
/**
* @param value
*/
@JvmName("tqvabjvibfiifstb")
public suspend fun replaceInsecureJs(`value`: Output) {
this.replaceInsecureJs = value
}
/**
* @param value
*/
@JvmName("vxpekxxpxvokqmae")
public suspend fun responseBuffering(`value`: Output) {
this.responseBuffering = value
}
/**
* @param value
*/
@JvmName("kgmmkbsuhuntfhhc")
public suspend fun rocketLoader(`value`: Output) {
this.rocketLoader = value
}
/**
* @param value
*/
@JvmName("pefhnrquwlmtyhyf")
public suspend fun securityHeader(`value`: Output) {
this.securityHeader = value
}
/**
* @param value
*/
@JvmName("brmsvnphdbqqaipa")
public suspend fun securityLevel(`value`: Output) {
this.securityLevel = value
}
/**
* @param value
*/
@JvmName("bpeuseujtkvkacdh")
public suspend fun serverSideExclude(`value`: Output) {
this.serverSideExclude = value
}
/**
* @param value
*/
@JvmName("gwdcxxmsmqsdnync")
public suspend fun sortQueryStringForCache(`value`: Output) {
this.sortQueryStringForCache = value
}
/**
* @param value
*/
@JvmName("srpymfuejxpamssd")
public suspend fun speedBrain(`value`: Output) {
this.speedBrain = value
}
/**
* @param value
*/
@JvmName("hjgfcpuwgwocotbd")
public suspend fun ssl(`value`: Output) {
this.ssl = value
}
/**
* @param value
*/
@Deprecated(
message = """
tls_1_2_only has been deprecated in favour of using `min_tls_version = "1.2"` instead.
""",
)
@JvmName("xwmehdnhpuniiwjg")
public suspend fun tls12Only(`value`: Output) {
this.tls12Only = value
}
/**
* @param value
*/
@JvmName("iniubjptwkfcwehg")
public suspend fun tls13(`value`: Output) {
this.tls13 = value
}
/**
* @param value
*/
@JvmName("xnviqgfntysbdruq")
public suspend fun tlsClientAuth(`value`: Output) {
this.tlsClientAuth = value
}
/**
* @param value
*/
@JvmName("tngguhwqiodjuiru")
public suspend fun trueClientIpHeader(`value`: Output) {
this.trueClientIpHeader = value
}
/**
* @param value
*/
@JvmName("etpumkkhyunxwnuu")
public suspend fun universalSsl(`value`: Output) {
this.universalSsl = value
}
/**
* @param value
*/
@JvmName("pnibkulgxusymxbs")
public suspend fun visitorIp(`value`: Output) {
this.visitorIp = value
}
/**
* @param value
*/
@JvmName("bfipuefmfmpqyjoi")
public suspend fun waf(`value`: Output) {
this.waf = value
}
/**
* @param value
*/
@JvmName("bsnjpecapbkkuurl")
public suspend fun webp(`value`: Output) {
this.webp = value
}
/**
* @param value
*/
@JvmName("iftcjsnvcjdajlfu")
public suspend fun websockets(`value`: Output) {
this.websockets = value
}
/**
* @param value
*/
@JvmName("fdpyjdfosktoxcds")
public suspend fun zeroRtt(`value`: Output) {
this.zeroRtt = value
}
/**
* @param value
*/
@JvmName("asrjsorwyffevpqk")
public suspend fun alwaysOnline(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.alwaysOnline = mapped
}
/**
* @param value
*/
@JvmName("uhorbeosuqdawmau")
public suspend fun alwaysUseHttps(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.alwaysUseHttps = mapped
}
/**
* @param value
*/
@JvmName("oojyrhotjxqkkong")
public suspend fun automaticHttpsRewrites(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.automaticHttpsRewrites = mapped
}
/**
* @param value
*/
@JvmName("miceivyqrbrbqeeh")
public suspend fun binaryAst(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.binaryAst = mapped
}
/**
* @param value
*/
@JvmName("yrmgvjddaogxouch")
public suspend fun brotli(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.brotli = mapped
}
/**
* @param value
*/
@JvmName("ragjttohrpuwsvyr")
public suspend fun browserCacheTtl(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.browserCacheTtl = mapped
}
/**
* @param value
*/
@JvmName("keuyyfoahqogylyh")
public suspend fun browserCheck(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.browserCheck = mapped
}
/**
* @param value
*/
@JvmName("uqgcedqximcfjwdf")
public suspend fun cacheLevel(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.cacheLevel = mapped
}
/**
* @param value
*/
@JvmName("jrpvugpqxbtxomxy")
public suspend fun challengeTtl(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.challengeTtl = mapped
}
/**
* @param value
*/
@JvmName("fasiptbcehgeodcj")
public suspend fun ciphers(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.ciphers = mapped
}
/**
* @param values
*/
@JvmName("rmqdxgttajxfltuh")
public suspend fun ciphers(vararg values: String) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.ciphers = mapped
}
/**
* @param value
*/
@JvmName("ikpmoicdupvxfwte")
public suspend fun cnameFlattening(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.cnameFlattening = mapped
}
/**
* @param value
*/
@JvmName("howudrnfbvokommu")
public suspend fun developmentMode(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.developmentMode = mapped
}
/**
* @param value
*/
@JvmName("kwvfvbfrmvflorcn")
public suspend fun earlyHints(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.earlyHints = mapped
}
/**
* @param value
*/
@JvmName("lnyhtslqmuqpopye")
public suspend fun emailObfuscation(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.emailObfuscation = mapped
}
/**
* @param value
*/
@JvmName("xvmxjmubhxfxmvfo")
public suspend fun filterLogsToCloudflare(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.filterLogsToCloudflare = mapped
}
/**
* @param value
*/
@JvmName("fscifuhnychonjdg")
public suspend fun fonts(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.fonts = mapped
}
/**
* @param value
*/
@JvmName("rshhdyyvccbabowu")
public suspend fun h2Prioritization(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.h2Prioritization = mapped
}
/**
* @param value
*/
@JvmName("oskanjfwherkhnpe")
public suspend fun hotlinkProtection(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.hotlinkProtection = mapped
}
/**
* @param value
*/
@JvmName("efwggmuepvynpenn")
public suspend fun http2(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.http2 = mapped
}
/**
* @param value
*/
@JvmName("fdypkwjussjmtyoj")
public suspend fun http3(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.http3 = mapped
}
/**
* @param value
*/
@JvmName("tktljyuboobkpwha")
public suspend fun imageResizing(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.imageResizing = mapped
}
/**
* @param value
*/
@JvmName("smgjighdvhdbapak")
public suspend fun ipGeolocation(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.ipGeolocation = mapped
}
/**
* @param value
*/
@JvmName("yyuxwnycwhhrcuak")
public suspend fun ipv6(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.ipv6 = mapped
}
/**
* @param value
*/
@JvmName("rjthrkcbkobwffym")
public suspend fun logToCloudflare(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.logToCloudflare = mapped
}
/**
* @param value
*/
@JvmName("veyfwfuqhmxvxejb")
public suspend fun maxUpload(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.maxUpload = mapped
}
/**
* @param value
*/
@JvmName("gwhgbtubthwaqgye")
public suspend fun minTlsVersion(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.minTlsVersion = mapped
}
/**
* @param value
*/
@JvmName("nwtqjawippqnnpmk")
public suspend fun minify(`value`: ZoneSettingsOverrideSettingsMinifyArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.minify = mapped
}
/**
* @param argument
*/
@JvmName("switwbmxlapunrni")
public suspend fun minify(argument: suspend ZoneSettingsOverrideSettingsMinifyArgsBuilder.() -> Unit) {
val toBeMapped = ZoneSettingsOverrideSettingsMinifyArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.minify = mapped
}
/**
* @param value
*/
@JvmName("iarovsokpsbefhmh")
public suspend fun mirage(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.mirage = mapped
}
/**
* @param value
*/
@Deprecated(
message = """
Mobile redirects has been deprecated and disabled in favour of [Single
Redirects](https://developers.cloudflare.com/rules/url-forwarding/single-redirects/) and are
no longer configurable using the API. Refer to [Perform mobile
redirects](https://developers.cloudflare.com/rules/url-forwarding/single-redirects/examples/#perform-mobile-redirects)
for examples of performing mobile redirects with Single Redirects.
""",
)
@JvmName("ontnfsnuxbfpnicm")
public suspend fun mobileRedirect(`value`: ZoneSettingsOverrideSettingsMobileRedirectArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.mobileRedirect = mapped
}
/**
* @param argument
*/
@Deprecated(
message = """
Mobile redirects has been deprecated and disabled in favour of [Single
Redirects](https://developers.cloudflare.com/rules/url-forwarding/single-redirects/) and are
no longer configurable using the API. Refer to [Perform mobile
redirects](https://developers.cloudflare.com/rules/url-forwarding/single-redirects/examples/#perform-mobile-redirects)
for examples of performing mobile redirects with Single Redirects.
""",
)
@JvmName("qakicrdbqfiuiguu")
public suspend fun mobileRedirect(argument: suspend ZoneSettingsOverrideSettingsMobileRedirectArgsBuilder.() -> Unit) {
val toBeMapped = ZoneSettingsOverrideSettingsMobileRedirectArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.mobileRedirect = mapped
}
/**
* @param value
*/
@JvmName("vapupmjvclvcxird")
public suspend fun nel(`value`: ZoneSettingsOverrideSettingsNelArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.nel = mapped
}
/**
* @param argument
*/
@JvmName("bmxxxihnetchvrha")
public suspend fun nel(argument: suspend ZoneSettingsOverrideSettingsNelArgsBuilder.() -> Unit) {
val toBeMapped = ZoneSettingsOverrideSettingsNelArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.nel = mapped
}
/**
* @param value
*/
@JvmName("qolamhsyhmvetqng")
public suspend fun opportunisticEncryption(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.opportunisticEncryption = mapped
}
/**
* @param value
*/
@JvmName("iqigthfqbpdsgekr")
public suspend fun opportunisticOnion(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.opportunisticOnion = mapped
}
/**
* @param value
*/
@JvmName("poqghtmodmesujmv")
public suspend fun orangeToOrange(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.orangeToOrange = mapped
}
/**
* @param value
*/
@JvmName("bxpohmyeiurdspyy")
public suspend fun originErrorPagePassThru(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.originErrorPagePassThru = mapped
}
/**
* @param value
*/
@JvmName("ntxxamyhsvfeexhn")
public suspend fun originMaxHttpVersion(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.originMaxHttpVersion = mapped
}
/**
* @param value
*/
@JvmName("eiaxrbgttracqjvk")
public suspend fun polish(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.polish = mapped
}
/**
* @param value
*/
@JvmName("nvflwsencoannmpw")
public suspend fun prefetchPreload(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.prefetchPreload = mapped
}
/**
* @param value
*/
@JvmName("otbvrgyrtjieefad")
public suspend fun privacyPass(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.privacyPass = mapped
}
/**
* @param value
*/
@JvmName("fsqoihklptiykwky")
public suspend fun proxyReadTimeout(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.proxyReadTimeout = mapped
}
/**
* @param value
*/
@JvmName("aaamcoreewnfvorq")
public suspend fun pseudoIpv4(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.pseudoIpv4 = mapped
}
/**
* @param value
*/
@JvmName("cybkugjcwakjeauw")
public suspend fun replaceInsecureJs(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.replaceInsecureJs = mapped
}
/**
* @param value
*/
@JvmName("fexxerhrlraflfwi")
public suspend fun responseBuffering(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.responseBuffering = mapped
}
/**
* @param value
*/
@JvmName("lwtlulfpmnttbeaq")
public suspend fun rocketLoader(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.rocketLoader = mapped
}
/**
* @param value
*/
@JvmName("kftvxnjssdubtorj")
public suspend fun securityHeader(`value`: ZoneSettingsOverrideSettingsSecurityHeaderArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.securityHeader = mapped
}
/**
* @param argument
*/
@JvmName("mrxtkqwfqraldyyf")
public suspend fun securityHeader(argument: suspend ZoneSettingsOverrideSettingsSecurityHeaderArgsBuilder.() -> Unit) {
val toBeMapped = ZoneSettingsOverrideSettingsSecurityHeaderArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.securityHeader = mapped
}
/**
* @param value
*/
@JvmName("unbggkmvytaynsak")
public suspend fun securityLevel(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.securityLevel = mapped
}
/**
* @param value
*/
@JvmName("idicygrjcnmvxyfb")
public suspend fun serverSideExclude(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.serverSideExclude = mapped
}
/**
* @param value
*/
@JvmName("cvwfpyogebgiuftv")
public suspend fun sortQueryStringForCache(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.sortQueryStringForCache = mapped
}
/**
* @param value
*/
@JvmName("rnhgtfygknmwkgjh")
public suspend fun speedBrain(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.speedBrain = mapped
}
/**
* @param value
*/
@JvmName("ixpqagehcsqfwwvt")
public suspend fun ssl(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.ssl = mapped
}
/**
* @param value
*/
@Deprecated(
message = """
tls_1_2_only has been deprecated in favour of using `min_tls_version = "1.2"` instead.
""",
)
@JvmName("ygfwchqotycmdfpu")
public suspend fun tls12Only(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.tls12Only = mapped
}
/**
* @param value
*/
@JvmName("awtrwnnagkwvgqsh")
public suspend fun tls13(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.tls13 = mapped
}
/**
* @param value
*/
@JvmName("fuicrfhdcxrdwius")
public suspend fun tlsClientAuth(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.tlsClientAuth = mapped
}
/**
* @param value
*/
@JvmName("plnienctwmpvmuke")
public suspend fun trueClientIpHeader(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.trueClientIpHeader = mapped
}
/**
* @param value
*/
@JvmName("uqwvfddbhdgghyva")
public suspend fun universalSsl(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.universalSsl = mapped
}
/**
* @param value
*/
@JvmName("cpfxyoctfevkneos")
public suspend fun visitorIp(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.visitorIp = mapped
}
/**
* @param value
*/
@JvmName("pfsahmeivgjlimxm")
public suspend fun waf(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.waf = mapped
}
/**
* @param value
*/
@JvmName("gkmbeshpbaidltvl")
public suspend fun webp(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.webp = mapped
}
/**
* @param value
*/
@JvmName("hycddjsvpvunimlt")
public suspend fun websockets(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.websockets = mapped
}
/**
* @param value
*/
@JvmName("cpybjbdxcikgolui")
public suspend fun zeroRtt(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.zeroRtt = mapped
}
internal fun build(): ZoneSettingsOverrideSettingsArgs = ZoneSettingsOverrideSettingsArgs(
alwaysOnline = alwaysOnline,
alwaysUseHttps = alwaysUseHttps,
automaticHttpsRewrites = automaticHttpsRewrites,
binaryAst = binaryAst,
brotli = brotli,
browserCacheTtl = browserCacheTtl,
browserCheck = browserCheck,
cacheLevel = cacheLevel,
challengeTtl = challengeTtl,
ciphers = ciphers,
cnameFlattening = cnameFlattening,
developmentMode = developmentMode,
earlyHints = earlyHints,
emailObfuscation = emailObfuscation,
filterLogsToCloudflare = filterLogsToCloudflare,
fonts = fonts,
h2Prioritization = h2Prioritization,
hotlinkProtection = hotlinkProtection,
http2 = http2,
http3 = http3,
imageResizing = imageResizing,
ipGeolocation = ipGeolocation,
ipv6 = ipv6,
logToCloudflare = logToCloudflare,
maxUpload = maxUpload,
minTlsVersion = minTlsVersion,
minify = minify,
mirage = mirage,
mobileRedirect = mobileRedirect,
nel = nel,
opportunisticEncryption = opportunisticEncryption,
opportunisticOnion = opportunisticOnion,
orangeToOrange = orangeToOrange,
originErrorPagePassThru = originErrorPagePassThru,
originMaxHttpVersion = originMaxHttpVersion,
polish = polish,
prefetchPreload = prefetchPreload,
privacyPass = privacyPass,
proxyReadTimeout = proxyReadTimeout,
pseudoIpv4 = pseudoIpv4,
replaceInsecureJs = replaceInsecureJs,
responseBuffering = responseBuffering,
rocketLoader = rocketLoader,
securityHeader = securityHeader,
securityLevel = securityLevel,
serverSideExclude = serverSideExclude,
sortQueryStringForCache = sortQueryStringForCache,
speedBrain = speedBrain,
ssl = ssl,
tls12Only = tls12Only,
tls13 = tls13,
tlsClientAuth = tlsClientAuth,
trueClientIpHeader = trueClientIpHeader,
universalSsl = universalSsl,
visitorIp = visitorIp,
waf = waf,
webp = webp,
websockets = websockets,
zeroRtt = zeroRtt,
)
}