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

com.pulumi.gcp.projects.kotlin.inputs.ApiKeyRestrictionsAndroidKeyRestrictionsAllowedApplicationArgs.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.projects.kotlin.inputs

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

/**
 *
 * @property packageName The package name of the application.
 * @property sha1Fingerprint The SHA1 fingerprint of the application. For example, both sha1 formats are acceptable : DA:39:A3:EE:5E:6B:4B:0D:32:55:BF:EF:95:60:18:90:AF:D8:07:09 or DA39A3EE5E6B4B0D3255BFEF95601890AFD80709. Output format is the latter.
 * - - -
 */
public data class ApiKeyRestrictionsAndroidKeyRestrictionsAllowedApplicationArgs(
    public val packageName: Output,
    public val sha1Fingerprint: Output,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.projects.inputs.ApiKeyRestrictionsAndroidKeyRestrictionsAllowedApplicationArgs =
        com.pulumi.gcp.projects.inputs.ApiKeyRestrictionsAndroidKeyRestrictionsAllowedApplicationArgs.builder()
            .packageName(packageName.applyValue({ args0 -> args0 }))
            .sha1Fingerprint(sha1Fingerprint.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ApiKeyRestrictionsAndroidKeyRestrictionsAllowedApplicationArgs].
 */
@PulumiTagMarker
public class ApiKeyRestrictionsAndroidKeyRestrictionsAllowedApplicationArgsBuilder internal constructor() {
    private var packageName: Output? = null

    private var sha1Fingerprint: Output? = null

    /**
     * @param value The package name of the application.
     */
    @JvmName("dvepibkoddwvfydc")
    public suspend fun packageName(`value`: Output) {
        this.packageName = value
    }

    /**
     * @param value The SHA1 fingerprint of the application. For example, both sha1 formats are acceptable : DA:39:A3:EE:5E:6B:4B:0D:32:55:BF:EF:95:60:18:90:AF:D8:07:09 or DA39A3EE5E6B4B0D3255BFEF95601890AFD80709. Output format is the latter.
     * - - -
     */
    @JvmName("qfhfuofnlgqrkkdj")
    public suspend fun sha1Fingerprint(`value`: Output) {
        this.sha1Fingerprint = value
    }

    /**
     * @param value The package name of the application.
     */
    @JvmName("altlrpomilyqmxwn")
    public suspend fun packageName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.packageName = mapped
    }

    /**
     * @param value The SHA1 fingerprint of the application. For example, both sha1 formats are acceptable : DA:39:A3:EE:5E:6B:4B:0D:32:55:BF:EF:95:60:18:90:AF:D8:07:09 or DA39A3EE5E6B4B0D3255BFEF95601890AFD80709. Output format is the latter.
     * - - -
     */
    @JvmName("ivkbyjuptrgtnlme")
    public suspend fun sha1Fingerprint(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.sha1Fingerprint = mapped
    }

    internal fun build(): ApiKeyRestrictionsAndroidKeyRestrictionsAllowedApplicationArgs =
        ApiKeyRestrictionsAndroidKeyRestrictionsAllowedApplicationArgs(
            packageName = packageName ?: throw PulumiNullFieldException("packageName"),
            sha1Fingerprint = sha1Fingerprint ?: throw PulumiNullFieldException("sha1Fingerprint"),
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy