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

com.pulumi.gcp.projects.kotlin.inputs.ApiKeyRestrictionsIosKeyRestrictionsArgs.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: 8.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.projects.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.projects.inputs.ApiKeyRestrictionsIosKeyRestrictionsArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property allowedBundleIds A list of bundle IDs that are allowed when making API calls with this key.
 */
public data class ApiKeyRestrictionsIosKeyRestrictionsArgs(
    public val allowedBundleIds: Output>,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.projects.inputs.ApiKeyRestrictionsIosKeyRestrictionsArgs =
        com.pulumi.gcp.projects.inputs.ApiKeyRestrictionsIosKeyRestrictionsArgs.builder()
            .allowedBundleIds(allowedBundleIds.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

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

    /**
     * @param value A list of bundle IDs that are allowed when making API calls with this key.
     */
    @JvmName("pnsxyjobymdonubk")
    public suspend fun allowedBundleIds(`value`: Output>) {
        this.allowedBundleIds = value
    }

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

    /**
     * @param values A list of bundle IDs that are allowed when making API calls with this key.
     */
    @JvmName("budhlnpqvkbdcyph")
    public suspend fun allowedBundleIds(values: List>) {
        this.allowedBundleIds = Output.all(values)
    }

    /**
     * @param value A list of bundle IDs that are allowed when making API calls with this key.
     */
    @JvmName("kldlwmddexovasna")
    public suspend fun allowedBundleIds(`value`: List) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.allowedBundleIds = mapped
    }

    /**
     * @param values A list of bundle IDs that are allowed when making API calls with this key.
     */
    @JvmName("jxrkimxnrbroqimy")
    public suspend fun allowedBundleIds(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.allowedBundleIds = mapped
    }

    internal fun build(): ApiKeyRestrictionsIosKeyRestrictionsArgs =
        ApiKeyRestrictionsIosKeyRestrictionsArgs(
            allowedBundleIds = allowedBundleIds ?: throw PulumiNullFieldException("allowedBundleIds"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy