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

com.pulumi.gcp.recaptcha.kotlin.inputs.EnterpriseKeyAndroidSettingsArgs.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.EnterpriseKeyAndroidSettingsArgs.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 allowAllPackageNames If set to true, it means allowed_package_names will not be enforced.
 * @property allowedPackageNames Android package names of apps allowed to use the key. Example: 'com.companyname.appname'
 */
public data class EnterpriseKeyAndroidSettingsArgs(
    public val allowAllPackageNames: Output? = null,
    public val allowedPackageNames: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.recaptcha.inputs.EnterpriseKeyAndroidSettingsArgs =
        com.pulumi.gcp.recaptcha.inputs.EnterpriseKeyAndroidSettingsArgs.builder()
            .allowAllPackageNames(allowAllPackageNames?.applyValue({ args0 -> args0 }))
            .allowedPackageNames(
                allowedPackageNames?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0
                    })
                }),
            ).build()
}

/**
 * Builder for [EnterpriseKeyAndroidSettingsArgs].
 */
@PulumiTagMarker
public class EnterpriseKeyAndroidSettingsArgsBuilder internal constructor() {
    private var allowAllPackageNames: Output? = null

    private var allowedPackageNames: Output>? = null

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

    /**
     * @param value Android package names of apps allowed to use the key. Example: 'com.companyname.appname'
     */
    @JvmName("shtlcpysjousojnv")
    public suspend fun allowedPackageNames(`value`: Output>) {
        this.allowedPackageNames = value
    }

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

    /**
     * @param values Android package names of apps allowed to use the key. Example: 'com.companyname.appname'
     */
    @JvmName("bnvlxjkmlkefmloq")
    public suspend fun allowedPackageNames(values: List>) {
        this.allowedPackageNames = Output.all(values)
    }

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

    /**
     * @param value Android package names of apps allowed to use the key. Example: 'com.companyname.appname'
     */
    @JvmName("lvpluimxkeaqjldk")
    public suspend fun allowedPackageNames(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.allowedPackageNames = mapped
    }

    /**
     * @param values Android package names of apps allowed to use the key. Example: 'com.companyname.appname'
     */
    @JvmName("ahrenujoqhcsaskq")
    public suspend fun allowedPackageNames(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.allowedPackageNames = mapped
    }

    internal fun build(): EnterpriseKeyAndroidSettingsArgs = EnterpriseKeyAndroidSettingsArgs(
        allowAllPackageNames = allowAllPackageNames,
        allowedPackageNames = allowedPackageNames,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy