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

com.pulumi.aws.cloudfront.kotlin.inputs.OriginRequestPolicyCookiesConfigCookiesArgs.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: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.cloudfront.kotlin.inputs

import com.pulumi.aws.cloudfront.inputs.OriginRequestPolicyCookiesConfigCookiesArgs.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

/**
 *
 * @property items
 */
public data class OriginRequestPolicyCookiesConfigCookiesArgs(
    public val items: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.cloudfront.inputs.OriginRequestPolicyCookiesConfigCookiesArgs =
        com.pulumi.aws.cloudfront.inputs.OriginRequestPolicyCookiesConfigCookiesArgs.builder()
            .items(items?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

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

    /**
     * @param value
     */
    @JvmName("lslayldwekcvumcp")
    public suspend fun items(`value`: Output>) {
        this.items = value
    }

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

    /**
     * @param values
     */
    @JvmName("cmcrjlsfheoyjsih")
    public suspend fun items(values: List>) {
        this.items = Output.all(values)
    }

    /**
     * @param value
     */
    @JvmName("axcehqmvofpendsb")
    public suspend fun items(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.items = mapped
    }

    /**
     * @param values
     */
    @JvmName("gbpbvuvfeqwtqrtl")
    public suspend fun items(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.items = mapped
    }

    internal fun build(): OriginRequestPolicyCookiesConfigCookiesArgs =
        OriginRequestPolicyCookiesConfigCookiesArgs(
            items = items,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy