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

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

import com.pulumi.cloudflare.ZoneCacheVariantsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 * Provides a resource which customizes Cloudflare zone cache variants.
 * ## Example Usage
 * 
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as cloudflare from "@pulumi/cloudflare";
 * const example = new cloudflare.ZoneCacheVariants("example", {
 *     zoneId: "0da42c8d2132a9ddaf714f9e7c920711",
 *     avifs: [
 *         "image/avif",
 *         "image/webp",
 *     ],
 *     bmps: [
 *         "image/bmp",
 *         "image/webp",
 *     ],
 *     gifs: [
 *         "image/gif",
 *         "image/webp",
 *     ],
 *     jpegs: [
 *         "image/jpeg",
 *         "image/webp",
 *     ],
 *     jpgs: [
 *         "image/jpg",
 *         "image/webp",
 *     ],
 *     jpg2s: [
 *         "image/jpg2",
 *         "image/webp",
 *     ],
 *     jp2s: [
 *         "image/jp2",
 *         "image/webp",
 *     ],
 *     pngs: [
 *         "image/png",
 *         "image/webp",
 *     ],
 *     tiffs: [
 *         "image/tiff",
 *         "image/webp",
 *     ],
 *     tifs: [
 *         "image/tif",
 *         "image/webp",
 *     ],
 *     webps: [
 *         "image/jpeg",
 *         "image/webp",
 *     ],
 * });
 * ```
 * ```python
 * import pulumi
 * import pulumi_cloudflare as cloudflare
 * example = cloudflare.ZoneCacheVariants("example",
 *     zone_id="0da42c8d2132a9ddaf714f9e7c920711",
 *     avifs=[
 *         "image/avif",
 *         "image/webp",
 *     ],
 *     bmps=[
 *         "image/bmp",
 *         "image/webp",
 *     ],
 *     gifs=[
 *         "image/gif",
 *         "image/webp",
 *     ],
 *     jpegs=[
 *         "image/jpeg",
 *         "image/webp",
 *     ],
 *     jpgs=[
 *         "image/jpg",
 *         "image/webp",
 *     ],
 *     jpg2s=[
 *         "image/jpg2",
 *         "image/webp",
 *     ],
 *     jp2s=[
 *         "image/jp2",
 *         "image/webp",
 *     ],
 *     pngs=[
 *         "image/png",
 *         "image/webp",
 *     ],
 *     tiffs=[
 *         "image/tiff",
 *         "image/webp",
 *     ],
 *     tifs=[
 *         "image/tif",
 *         "image/webp",
 *     ],
 *     webps=[
 *         "image/jpeg",
 *         "image/webp",
 *     ])
 * ```
 * ```csharp
 * using System.Collections.Generic;
 * using System.Linq;
 * using Pulumi;
 * using Cloudflare = Pulumi.Cloudflare;
 * return await Deployment.RunAsync(() =>
 * {
 *     var example = new Cloudflare.ZoneCacheVariants("example", new()
 *     {
 *         ZoneId = "0da42c8d2132a9ddaf714f9e7c920711",
 *         Avifs = new[]
 *         {
 *             "image/avif",
 *             "image/webp",
 *         },
 *         Bmps = new[]
 *         {
 *             "image/bmp",
 *             "image/webp",
 *         },
 *         Gifs = new[]
 *         {
 *             "image/gif",
 *             "image/webp",
 *         },
 *         Jpegs = new[]
 *         {
 *             "image/jpeg",
 *             "image/webp",
 *         },
 *         Jpgs = new[]
 *         {
 *             "image/jpg",
 *             "image/webp",
 *         },
 *         Jpg2s = new[]
 *         {
 *             "image/jpg2",
 *             "image/webp",
 *         },
 *         Jp2s = new[]
 *         {
 *             "image/jp2",
 *             "image/webp",
 *         },
 *         Pngs = new[]
 *         {
 *             "image/png",
 *             "image/webp",
 *         },
 *         Tiffs = new[]
 *         {
 *             "image/tiff",
 *             "image/webp",
 *         },
 *         Tifs = new[]
 *         {
 *             "image/tif",
 *             "image/webp",
 *         },
 *         Webps = new[]
 *         {
 *             "image/jpeg",
 *             "image/webp",
 *         },
 *     });
 * });
 * ```
 * ```go
 * package main
 * import (
 * 	"github.com/pulumi/pulumi-cloudflare/sdk/v5/go/cloudflare"
 * 	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
 * )
 * func main() {
 * 	pulumi.Run(func(ctx *pulumi.Context) error {
 * 		_, err := cloudflare.NewZoneCacheVariants(ctx, "example", &cloudflare.ZoneCacheVariantsArgs{
 * 			ZoneId: pulumi.String("0da42c8d2132a9ddaf714f9e7c920711"),
 * 			Avifs: pulumi.StringArray{
 * 				pulumi.String("image/avif"),
 * 				pulumi.String("image/webp"),
 * 			},
 * 			Bmps: pulumi.StringArray{
 * 				pulumi.String("image/bmp"),
 * 				pulumi.String("image/webp"),
 * 			},
 * 			Gifs: pulumi.StringArray{
 * 				pulumi.String("image/gif"),
 * 				pulumi.String("image/webp"),
 * 			},
 * 			Jpegs: pulumi.StringArray{
 * 				pulumi.String("image/jpeg"),
 * 				pulumi.String("image/webp"),
 * 			},
 * 			Jpgs: pulumi.StringArray{
 * 				pulumi.String("image/jpg"),
 * 				pulumi.String("image/webp"),
 * 			},
 * 			Jpg2s: pulumi.StringArray{
 * 				pulumi.String("image/jpg2"),
 * 				pulumi.String("image/webp"),
 * 			},
 * 			Jp2s: pulumi.StringArray{
 * 				pulumi.String("image/jp2"),
 * 				pulumi.String("image/webp"),
 * 			},
 * 			Pngs: pulumi.StringArray{
 * 				pulumi.String("image/png"),
 * 				pulumi.String("image/webp"),
 * 			},
 * 			Tiffs: pulumi.StringArray{
 * 				pulumi.String("image/tiff"),
 * 				pulumi.String("image/webp"),
 * 			},
 * 			Tifs: pulumi.StringArray{
 * 				pulumi.String("image/tif"),
 * 				pulumi.String("image/webp"),
 * 			},
 * 			Webps: pulumi.StringArray{
 * 				pulumi.String("image/jpeg"),
 * 				pulumi.String("image/webp"),
 * 			},
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		return nil
 * 	})
 * }
 * ```
 * ```java
 * package generated_program;
 * import com.pulumi.Context;
 * import com.pulumi.Pulumi;
 * import com.pulumi.core.Output;
 * import com.pulumi.cloudflare.ZoneCacheVariants;
 * import com.pulumi.cloudflare.ZoneCacheVariantsArgs;
 * import java.util.List;
 * import java.util.ArrayList;
 * import java.util.Map;
 * import java.io.File;
 * import java.nio.file.Files;
 * import java.nio.file.Paths;
 * public class App {
 *     public static void main(String[] args) {
 *         Pulumi.run(App::stack);
 *     }
 *     public static void stack(Context ctx) {
 *         var example = new ZoneCacheVariants("example", ZoneCacheVariantsArgs.builder()
 *             .zoneId("0da42c8d2132a9ddaf714f9e7c920711")
 *             .avifs(
 *                 "image/avif",
 *                 "image/webp")
 *             .bmps(
 *                 "image/bmp",
 *                 "image/webp")
 *             .gifs(
 *                 "image/gif",
 *                 "image/webp")
 *             .jpegs(
 *                 "image/jpeg",
 *                 "image/webp")
 *             .jpgs(
 *                 "image/jpg",
 *                 "image/webp")
 *             .jpg2s(
 *                 "image/jpg2",
 *                 "image/webp")
 *             .jp2s(
 *                 "image/jp2",
 *                 "image/webp")
 *             .pngs(
 *                 "image/png",
 *                 "image/webp")
 *             .tiffs(
 *                 "image/tiff",
 *                 "image/webp")
 *             .tifs(
 *                 "image/tif",
 *                 "image/webp")
 *             .webps(
 *                 "image/jpeg",
 *                 "image/webp")
 *             .build());
 *     }
 * }
 * ```
 * ```yaml
 * resources:
 *   example:
 *     type: cloudflare:ZoneCacheVariants
 *     properties:
 *       zoneId: 0da42c8d2132a9ddaf714f9e7c920711
 *       avifs:
 *         - image/avif
 *         - image/webp
 *       bmps:
 *         - image/bmp
 *         - image/webp
 *       gifs:
 *         - image/gif
 *         - image/webp
 *       jpegs:
 *         - image/jpeg
 *         - image/webp
 *       jpgs:
 *         - image/jpg
 *         - image/webp
 *       jpg2s:
 *         - image/jpg2
 *         - image/webp
 *       jp2s:
 *         - image/jp2
 *         - image/webp
 *       pngs:
 *         - image/png
 *         - image/webp
 *       tiffs:
 *         - image/tiff
 *         - image/webp
 *       tifs:
 *         - image/tif
 *         - image/webp
 *       webps:
 *         - image/jpeg
 *         - image/webp
 * ```
 * 
 * @property avifs List of strings with the MIME types of all the variants that should be served for avif.
 * @property bmps List of strings with the MIME types of all the variants that should be served for bmp.
 * @property gifs List of strings with the MIME types of all the variants that should be served for gif.
 * @property jp2s List of strings with the MIME types of all the variants that should be served for jp2.
 * @property jpegs List of strings with the MIME types of all the variants that should be served for jpeg.
 * @property jpg2s List of strings with the MIME types of all the variants that should be served for jpg2.
 * @property jpgs List of strings with the MIME types of all the variants that should be served for jpg.
 * @property pngs List of strings with the MIME types of all the variants that should be served for png.
 * @property tiffs List of strings with the MIME types of all the variants that should be served for tiff.
 * @property tifs List of strings with the MIME types of all the variants that should be served for tif.
 * @property webps List of strings with the MIME types of all the variants that should be served for webp.
 * @property zoneId The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
 */
public data class ZoneCacheVariantsArgs(
    public val avifs: Output>? = null,
    public val bmps: Output>? = null,
    public val gifs: Output>? = null,
    public val jp2s: Output>? = null,
    public val jpegs: Output>? = null,
    public val jpg2s: Output>? = null,
    public val jpgs: Output>? = null,
    public val pngs: Output>? = null,
    public val tiffs: Output>? = null,
    public val tifs: Output>? = null,
    public val webps: Output>? = null,
    public val zoneId: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.cloudflare.ZoneCacheVariantsArgs =
        com.pulumi.cloudflare.ZoneCacheVariantsArgs.builder()
            .avifs(avifs?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .bmps(bmps?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .gifs(gifs?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .jp2s(jp2s?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .jpegs(jpegs?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .jpg2s(jpg2s?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .jpgs(jpgs?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .pngs(pngs?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .tiffs(tiffs?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .tifs(tifs?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .webps(webps?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .zoneId(zoneId?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ZoneCacheVariantsArgs].
 */
@PulumiTagMarker
public class ZoneCacheVariantsArgsBuilder internal constructor() {
    private var avifs: Output>? = null

    private var bmps: Output>? = null

    private var gifs: Output>? = null

    private var jp2s: Output>? = null

    private var jpegs: Output>? = null

    private var jpg2s: Output>? = null

    private var jpgs: Output>? = null

    private var pngs: Output>? = null

    private var tiffs: Output>? = null

    private var tifs: Output>? = null

    private var webps: Output>? = null

    private var zoneId: Output? = null

    /**
     * @param value List of strings with the MIME types of all the variants that should be served for avif.
     */
    @JvmName("rvuxqtbsuwvbeoht")
    public suspend fun avifs(`value`: Output>) {
        this.avifs = value
    }

    @JvmName("ijmkyklfaaoppajk")
    public suspend fun avifs(vararg values: Output) {
        this.avifs = Output.all(values.asList())
    }

    /**
     * @param values List of strings with the MIME types of all the variants that should be served for avif.
     */
    @JvmName("wqttntledadlyedx")
    public suspend fun avifs(values: List>) {
        this.avifs = Output.all(values)
    }

    /**
     * @param value List of strings with the MIME types of all the variants that should be served for bmp.
     */
    @JvmName("hibtimxqratgqfhj")
    public suspend fun bmps(`value`: Output>) {
        this.bmps = value
    }

    @JvmName("jbncwumnlgahpvdi")
    public suspend fun bmps(vararg values: Output) {
        this.bmps = Output.all(values.asList())
    }

    /**
     * @param values List of strings with the MIME types of all the variants that should be served for bmp.
     */
    @JvmName("smplmnqvgkoffhro")
    public suspend fun bmps(values: List>) {
        this.bmps = Output.all(values)
    }

    /**
     * @param value List of strings with the MIME types of all the variants that should be served for gif.
     */
    @JvmName("eogkrybnwfcnvdat")
    public suspend fun gifs(`value`: Output>) {
        this.gifs = value
    }

    @JvmName("ngurvbgfpiodhimu")
    public suspend fun gifs(vararg values: Output) {
        this.gifs = Output.all(values.asList())
    }

    /**
     * @param values List of strings with the MIME types of all the variants that should be served for gif.
     */
    @JvmName("wnhfqppnueuokjni")
    public suspend fun gifs(values: List>) {
        this.gifs = Output.all(values)
    }

    /**
     * @param value List of strings with the MIME types of all the variants that should be served for jp2.
     */
    @JvmName("vuogeyrcljolxkdt")
    public suspend fun jp2s(`value`: Output>) {
        this.jp2s = value
    }

    @JvmName("fknaqjmlhepcpptn")
    public suspend fun jp2s(vararg values: Output) {
        this.jp2s = Output.all(values.asList())
    }

    /**
     * @param values List of strings with the MIME types of all the variants that should be served for jp2.
     */
    @JvmName("smbalvilbvmwibul")
    public suspend fun jp2s(values: List>) {
        this.jp2s = Output.all(values)
    }

    /**
     * @param value List of strings with the MIME types of all the variants that should be served for jpeg.
     */
    @JvmName("xfucakcqlcqmnltj")
    public suspend fun jpegs(`value`: Output>) {
        this.jpegs = value
    }

    @JvmName("fhtlyoviwypidkhy")
    public suspend fun jpegs(vararg values: Output) {
        this.jpegs = Output.all(values.asList())
    }

    /**
     * @param values List of strings with the MIME types of all the variants that should be served for jpeg.
     */
    @JvmName("sxevtievjekrqdqh")
    public suspend fun jpegs(values: List>) {
        this.jpegs = Output.all(values)
    }

    /**
     * @param value List of strings with the MIME types of all the variants that should be served for jpg2.
     */
    @JvmName("jswejtqynkkydcnq")
    public suspend fun jpg2s(`value`: Output>) {
        this.jpg2s = value
    }

    @JvmName("iqxdmkvwftgxhkbo")
    public suspend fun jpg2s(vararg values: Output) {
        this.jpg2s = Output.all(values.asList())
    }

    /**
     * @param values List of strings with the MIME types of all the variants that should be served for jpg2.
     */
    @JvmName("ukppjhmljqntnxet")
    public suspend fun jpg2s(values: List>) {
        this.jpg2s = Output.all(values)
    }

    /**
     * @param value List of strings with the MIME types of all the variants that should be served for jpg.
     */
    @JvmName("qlfinyyseugdluvl")
    public suspend fun jpgs(`value`: Output>) {
        this.jpgs = value
    }

    @JvmName("ltvjfubipfmhjxuj")
    public suspend fun jpgs(vararg values: Output) {
        this.jpgs = Output.all(values.asList())
    }

    /**
     * @param values List of strings with the MIME types of all the variants that should be served for jpg.
     */
    @JvmName("aqgcuudmgdkhkmco")
    public suspend fun jpgs(values: List>) {
        this.jpgs = Output.all(values)
    }

    /**
     * @param value List of strings with the MIME types of all the variants that should be served for png.
     */
    @JvmName("bcndtayerwiuaaft")
    public suspend fun pngs(`value`: Output>) {
        this.pngs = value
    }

    @JvmName("ntubrgklcwlolgrh")
    public suspend fun pngs(vararg values: Output) {
        this.pngs = Output.all(values.asList())
    }

    /**
     * @param values List of strings with the MIME types of all the variants that should be served for png.
     */
    @JvmName("ermeuxnscpwfqmoq")
    public suspend fun pngs(values: List>) {
        this.pngs = Output.all(values)
    }

    /**
     * @param value List of strings with the MIME types of all the variants that should be served for tiff.
     */
    @JvmName("kvqcidojiegigabi")
    public suspend fun tiffs(`value`: Output>) {
        this.tiffs = value
    }

    @JvmName("nnbpebecneskekjx")
    public suspend fun tiffs(vararg values: Output) {
        this.tiffs = Output.all(values.asList())
    }

    /**
     * @param values List of strings with the MIME types of all the variants that should be served for tiff.
     */
    @JvmName("vvdensqfemvepcxq")
    public suspend fun tiffs(values: List>) {
        this.tiffs = Output.all(values)
    }

    /**
     * @param value List of strings with the MIME types of all the variants that should be served for tif.
     */
    @JvmName("nswxmnbfpopyecsi")
    public suspend fun tifs(`value`: Output>) {
        this.tifs = value
    }

    @JvmName("rqnnagxhiggvnjoe")
    public suspend fun tifs(vararg values: Output) {
        this.tifs = Output.all(values.asList())
    }

    /**
     * @param values List of strings with the MIME types of all the variants that should be served for tif.
     */
    @JvmName("bpgxekeqwrjbfpxf")
    public suspend fun tifs(values: List>) {
        this.tifs = Output.all(values)
    }

    /**
     * @param value List of strings with the MIME types of all the variants that should be served for webp.
     */
    @JvmName("vdhpwsyhuttnotil")
    public suspend fun webps(`value`: Output>) {
        this.webps = value
    }

    @JvmName("upvhhmamtbovbydb")
    public suspend fun webps(vararg values: Output) {
        this.webps = Output.all(values.asList())
    }

    /**
     * @param values List of strings with the MIME types of all the variants that should be served for webp.
     */
    @JvmName("rnuuqxivrggdircx")
    public suspend fun webps(values: List>) {
        this.webps = Output.all(values)
    }

    /**
     * @param value The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
     */
    @JvmName("nsflkgvxrjxkljuq")
    public suspend fun zoneId(`value`: Output) {
        this.zoneId = value
    }

    /**
     * @param value List of strings with the MIME types of all the variants that should be served for avif.
     */
    @JvmName("shygdgydihcqugni")
    public suspend fun avifs(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.avifs = mapped
    }

    /**
     * @param values List of strings with the MIME types of all the variants that should be served for avif.
     */
    @JvmName("qyufnhpfmyvjvrdc")
    public suspend fun avifs(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.avifs = mapped
    }

    /**
     * @param value List of strings with the MIME types of all the variants that should be served for bmp.
     */
    @JvmName("gphrlcktpwniylcj")
    public suspend fun bmps(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.bmps = mapped
    }

    /**
     * @param values List of strings with the MIME types of all the variants that should be served for bmp.
     */
    @JvmName("ujwxavukepifqrqg")
    public suspend fun bmps(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.bmps = mapped
    }

    /**
     * @param value List of strings with the MIME types of all the variants that should be served for gif.
     */
    @JvmName("lrwjpbsbrnysussi")
    public suspend fun gifs(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.gifs = mapped
    }

    /**
     * @param values List of strings with the MIME types of all the variants that should be served for gif.
     */
    @JvmName("vaaspsgcxpvpsxrj")
    public suspend fun gifs(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.gifs = mapped
    }

    /**
     * @param value List of strings with the MIME types of all the variants that should be served for jp2.
     */
    @JvmName("sgonovmhxpaivmlv")
    public suspend fun jp2s(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.jp2s = mapped
    }

    /**
     * @param values List of strings with the MIME types of all the variants that should be served for jp2.
     */
    @JvmName("dclgmxqsjthfmwwu")
    public suspend fun jp2s(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.jp2s = mapped
    }

    /**
     * @param value List of strings with the MIME types of all the variants that should be served for jpeg.
     */
    @JvmName("bmsusbjccyclgqda")
    public suspend fun jpegs(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.jpegs = mapped
    }

    /**
     * @param values List of strings with the MIME types of all the variants that should be served for jpeg.
     */
    @JvmName("pbsyfsjeciffsteu")
    public suspend fun jpegs(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.jpegs = mapped
    }

    /**
     * @param value List of strings with the MIME types of all the variants that should be served for jpg2.
     */
    @JvmName("inhgchtgpojvifuc")
    public suspend fun jpg2s(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.jpg2s = mapped
    }

    /**
     * @param values List of strings with the MIME types of all the variants that should be served for jpg2.
     */
    @JvmName("pjthocgaumpoxtws")
    public suspend fun jpg2s(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.jpg2s = mapped
    }

    /**
     * @param value List of strings with the MIME types of all the variants that should be served for jpg.
     */
    @JvmName("yluqtxpnbkkdkgtb")
    public suspend fun jpgs(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.jpgs = mapped
    }

    /**
     * @param values List of strings with the MIME types of all the variants that should be served for jpg.
     */
    @JvmName("ruthejdurrnssaem")
    public suspend fun jpgs(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.jpgs = mapped
    }

    /**
     * @param value List of strings with the MIME types of all the variants that should be served for png.
     */
    @JvmName("fpvgcedljeexrsdf")
    public suspend fun pngs(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.pngs = mapped
    }

    /**
     * @param values List of strings with the MIME types of all the variants that should be served for png.
     */
    @JvmName("svvgdnghdwmqvgym")
    public suspend fun pngs(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.pngs = mapped
    }

    /**
     * @param value List of strings with the MIME types of all the variants that should be served for tiff.
     */
    @JvmName("ksgfycxlrpgabkdf")
    public suspend fun tiffs(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tiffs = mapped
    }

    /**
     * @param values List of strings with the MIME types of all the variants that should be served for tiff.
     */
    @JvmName("vkguqmbsalqodnwq")
    public suspend fun tiffs(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.tiffs = mapped
    }

    /**
     * @param value List of strings with the MIME types of all the variants that should be served for tif.
     */
    @JvmName("bgogbjwlwjqinwpr")
    public suspend fun tifs(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tifs = mapped
    }

    /**
     * @param values List of strings with the MIME types of all the variants that should be served for tif.
     */
    @JvmName("anpibhcycnuinnxe")
    public suspend fun tifs(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.tifs = mapped
    }

    /**
     * @param value List of strings with the MIME types of all the variants that should be served for webp.
     */
    @JvmName("dorsaemoefbaflve")
    public suspend fun webps(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.webps = mapped
    }

    /**
     * @param values List of strings with the MIME types of all the variants that should be served for webp.
     */
    @JvmName("owgawsilmlrrdnlf")
    public suspend fun webps(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.webps = mapped
    }

    /**
     * @param value The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
     */
    @JvmName("iofwfktsxlvverws")
    public suspend fun zoneId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.zoneId = mapped
    }

    internal fun build(): ZoneCacheVariantsArgs = ZoneCacheVariantsArgs(
        avifs = avifs,
        bmps = bmps,
        gifs = gifs,
        jp2s = jp2s,
        jpegs = jpegs,
        jpg2s = jpg2s,
        jpgs = jpgs,
        pngs = pngs,
        tiffs = tiffs,
        tifs = tifs,
        webps = webps,
        zoneId = zoneId,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy