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

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

package com.pulumi.gcp.recaptcha.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.recaptcha.inputs.EnterpriseKeyIosSettingsArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property allowAllBundleIds If set to true, it means allowed_bundle_ids will not be enforced.
 * @property allowedBundleIds iOS bundle ids of apps allowed to use the key. Example: 'com.companyname.productname.appname'
 */
public data class EnterpriseKeyIosSettingsArgs(
    public val allowAllBundleIds: Output? = null,
    public val allowedBundleIds: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.recaptcha.inputs.EnterpriseKeyIosSettingsArgs =
        com.pulumi.gcp.recaptcha.inputs.EnterpriseKeyIosSettingsArgs.builder()
            .allowAllBundleIds(allowAllBundleIds?.applyValue({ args0 -> args0 }))
            .allowedBundleIds(allowedBundleIds?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

/**
 * Builder for [EnterpriseKeyIosSettingsArgs].
 */
@PulumiTagMarker
public class EnterpriseKeyIosSettingsArgsBuilder internal constructor() {
    private var allowAllBundleIds: Output? = null

    private var allowedBundleIds: Output>? = null

    /**
     * @param value If set to true, it means allowed_bundle_ids will not be enforced.
     */
    @JvmName("uhubvcdgfxxfhbsg")
    public suspend fun allowAllBundleIds(`value`: Output) {
        this.allowAllBundleIds = value
    }

    /**
     * @param value iOS bundle ids of apps allowed to use the key. Example: 'com.companyname.productname.appname'
     */
    @JvmName("gtnfyhfepuxftuyj")
    public suspend fun allowedBundleIds(`value`: Output>) {
        this.allowedBundleIds = value
    }

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

    /**
     * @param values iOS bundle ids of apps allowed to use the key. Example: 'com.companyname.productname.appname'
     */
    @JvmName("cfsrypgvkkflmmok")
    public suspend fun allowedBundleIds(values: List>) {
        this.allowedBundleIds = Output.all(values)
    }

    /**
     * @param value If set to true, it means allowed_bundle_ids will not be enforced.
     */
    @JvmName("qcuajofblbhpiykk")
    public suspend fun allowAllBundleIds(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.allowAllBundleIds = mapped
    }

    /**
     * @param value iOS bundle ids of apps allowed to use the key. Example: 'com.companyname.productname.appname'
     */
    @JvmName("nshnjmmytuidwnjp")
    public suspend fun allowedBundleIds(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.allowedBundleIds = mapped
    }

    /**
     * @param values iOS bundle ids of apps allowed to use the key. Example: 'com.companyname.productname.appname'
     */
    @JvmName("mafasqadkxhhkyhe")
    public suspend fun allowedBundleIds(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.allowedBundleIds = mapped
    }

    internal fun build(): EnterpriseKeyIosSettingsArgs = EnterpriseKeyIosSettingsArgs(
        allowAllBundleIds = allowAllBundleIds,
        allowedBundleIds = allowedBundleIds,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy