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

com.pulumi.cloudflare.kotlin.inputs.RulesetRuleActionParametersAutominifyArgs.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.

The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.cloudflare.kotlin.inputs

import com.pulumi.cloudflare.inputs.RulesetRuleActionParametersAutominifyArgs.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 css CSS minification.
 * @property html HTML minification.
 * @property js JS minification.
 */
public data class RulesetRuleActionParametersAutominifyArgs(
    public val css: Output? = null,
    public val html: Output? = null,
    public val js: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.cloudflare.inputs.RulesetRuleActionParametersAutominifyArgs =
        com.pulumi.cloudflare.inputs.RulesetRuleActionParametersAutominifyArgs.builder()
            .css(css?.applyValue({ args0 -> args0 }))
            .html(html?.applyValue({ args0 -> args0 }))
            .js(js?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [RulesetRuleActionParametersAutominifyArgs].
 */
@PulumiTagMarker
public class RulesetRuleActionParametersAutominifyArgsBuilder internal constructor() {
    private var css: Output? = null

    private var html: Output? = null

    private var js: Output? = null

    /**
     * @param value CSS minification.
     */
    @JvmName("gpgxvaukvoxevddc")
    public suspend fun css(`value`: Output) {
        this.css = value
    }

    /**
     * @param value HTML minification.
     */
    @JvmName("brwrxupuieylwbqw")
    public suspend fun html(`value`: Output) {
        this.html = value
    }

    /**
     * @param value JS minification.
     */
    @JvmName("fyfaqxhdemnctfln")
    public suspend fun js(`value`: Output) {
        this.js = value
    }

    /**
     * @param value CSS minification.
     */
    @JvmName("pdsfmxhooelomfoe")
    public suspend fun css(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.css = mapped
    }

    /**
     * @param value HTML minification.
     */
    @JvmName("tmhwsuldshqkroai")
    public suspend fun html(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.html = mapped
    }

    /**
     * @param value JS minification.
     */
    @JvmName("ueiyendvltuvklyx")
    public suspend fun js(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.js = mapped
    }

    internal fun build(): RulesetRuleActionParametersAutominifyArgs =
        RulesetRuleActionParametersAutominifyArgs(
            css = css,
            html = html,
            js = js,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy