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

com.pulumi.azurenative.attestation.kotlin.inputs.JSONWebKeySetArgs.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.attestation.kotlin.inputs

import com.pulumi.azurenative.attestation.inputs.JSONWebKeySetArgs.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.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property keys The value of the "keys" parameter is an array of JWK values.  By
 * default, the order of the JWK values within the array does not imply
 * an order of preference among them, although applications of JWK Sets
 * can choose to assign a meaning to the order for their purposes, if
 * desired.
 */
public data class JSONWebKeySetArgs(
    public val keys: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.attestation.inputs.JSONWebKeySetArgs =
        com.pulumi.azurenative.attestation.inputs.JSONWebKeySetArgs.builder()
            .keys(
                keys?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            ).build()
}

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

    /**
     * @param value The value of the "keys" parameter is an array of JWK values.  By
     * default, the order of the JWK values within the array does not imply
     * an order of preference among them, although applications of JWK Sets
     * can choose to assign a meaning to the order for their purposes, if
     * desired.
     */
    @JvmName("prbnmienstmnfxsn")
    public suspend fun keys(`value`: Output>) {
        this.keys = value
    }

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

    /**
     * @param values The value of the "keys" parameter is an array of JWK values.  By
     * default, the order of the JWK values within the array does not imply
     * an order of preference among them, although applications of JWK Sets
     * can choose to assign a meaning to the order for their purposes, if
     * desired.
     */
    @JvmName("rpsisobbcwdddpbk")
    public suspend fun keys(values: List>) {
        this.keys = Output.all(values)
    }

    /**
     * @param value The value of the "keys" parameter is an array of JWK values.  By
     * default, the order of the JWK values within the array does not imply
     * an order of preference among them, although applications of JWK Sets
     * can choose to assign a meaning to the order for their purposes, if
     * desired.
     */
    @JvmName("unwvvnpttdexrqaf")
    public suspend fun keys(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.keys = mapped
    }

    /**
     * @param argument The value of the "keys" parameter is an array of JWK values.  By
     * default, the order of the JWK values within the array does not imply
     * an order of preference among them, although applications of JWK Sets
     * can choose to assign a meaning to the order for their purposes, if
     * desired.
     */
    @JvmName("edhvlgebdlsgyhta")
    public suspend fun keys(argument: List Unit>) {
        val toBeMapped = argument.toList().map { JSONWebKeyArgsBuilder().applySuspend { it() }.build() }
        val mapped = of(toBeMapped)
        this.keys = mapped
    }

    /**
     * @param argument The value of the "keys" parameter is an array of JWK values.  By
     * default, the order of the JWK values within the array does not imply
     * an order of preference among them, although applications of JWK Sets
     * can choose to assign a meaning to the order for their purposes, if
     * desired.
     */
    @JvmName("aqyesdhatrolrwjn")
    public suspend fun keys(vararg argument: suspend JSONWebKeyArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map { JSONWebKeyArgsBuilder().applySuspend { it() }.build() }
        val mapped = of(toBeMapped)
        this.keys = mapped
    }

    /**
     * @param argument The value of the "keys" parameter is an array of JWK values.  By
     * default, the order of the JWK values within the array does not imply
     * an order of preference among them, although applications of JWK Sets
     * can choose to assign a meaning to the order for their purposes, if
     * desired.
     */
    @JvmName("oijebbqrvitbfdoy")
    public suspend fun keys(argument: suspend JSONWebKeyArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(JSONWebKeyArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.keys = mapped
    }

    /**
     * @param values The value of the "keys" parameter is an array of JWK values.  By
     * default, the order of the JWK values within the array does not imply
     * an order of preference among them, although applications of JWK Sets
     * can choose to assign a meaning to the order for their purposes, if
     * desired.
     */
    @JvmName("bssphpbwmgutjfey")
    public suspend fun keys(vararg values: JSONWebKeyArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.keys = mapped
    }

    internal fun build(): JSONWebKeySetArgs = JSONWebKeySetArgs(
        keys = keys,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy