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

com.pulumi.cloudflare.kotlin.inputs.PageRuleActionsCacheKeyFieldsHostArgs.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.47.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.cloudflare.kotlin.inputs

import com.pulumi.cloudflare.inputs.PageRuleActionsCacheKeyFieldsHostArgs.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.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property resolved `false` (default) - includes the Host header in the HTTP request sent to the origin; `true` - includes the Host header that was resolved to get the origin IP for the request (e.g. changed with Resolve Override Page Rule).
 */
public data class PageRuleActionsCacheKeyFieldsHostArgs(
    public val resolved: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.cloudflare.inputs.PageRuleActionsCacheKeyFieldsHostArgs =
        com.pulumi.cloudflare.inputs.PageRuleActionsCacheKeyFieldsHostArgs.builder()
            .resolved(resolved?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [PageRuleActionsCacheKeyFieldsHostArgs].
 */
@PulumiTagMarker
public class PageRuleActionsCacheKeyFieldsHostArgsBuilder internal constructor() {
    private var resolved: Output? = null

    /**
     * @param value `false` (default) - includes the Host header in the HTTP request sent to the origin; `true` - includes the Host header that was resolved to get the origin IP for the request (e.g. changed with Resolve Override Page Rule).
     */
    @JvmName("maqyaiugauofwurd")
    public suspend fun resolved(`value`: Output) {
        this.resolved = value
    }

    /**
     * @param value `false` (default) - includes the Host header in the HTTP request sent to the origin; `true` - includes the Host header that was resolved to get the origin IP for the request (e.g. changed with Resolve Override Page Rule).
     */
    @JvmName("mikhehbigujisghs")
    public suspend fun resolved(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.resolved = mapped
    }

    internal fun build(): PageRuleActionsCacheKeyFieldsHostArgs =
        PageRuleActionsCacheKeyFieldsHostArgs(
            resolved = resolved,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy