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

com.pulumi.googlenative.firebaserules.v1.kotlin.inputs.GetReleasePlainArgs.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.

The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.firebaserules.v1.kotlin.inputs

import com.pulumi.googlenative.firebaserules.v1.inputs.GetReleasePlainArgs.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 project
 * @property releaseId
 */
public data class GetReleasePlainArgs(
    public val project: String? = null,
    public val releaseId: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.googlenative.firebaserules.v1.inputs.GetReleasePlainArgs =
        com.pulumi.googlenative.firebaserules.v1.inputs.GetReleasePlainArgs.builder()
            .project(project?.let({ args0 -> args0 }))
            .releaseId(releaseId.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetReleasePlainArgs].
 */
@PulumiTagMarker
public class GetReleasePlainArgsBuilder internal constructor() {
    private var project: String? = null

    private var releaseId: String? = null

    /**
     * @param value
     */
    @JvmName("dlktmfvsyokxasge")
    public suspend fun project(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> args0 })
        this.project = mapped
    }

    /**
     * @param value
     */
    @JvmName("sftcjjtelfjxlsfu")
    public suspend fun releaseId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.releaseId = mapped
    }

    internal fun build(): GetReleasePlainArgs = GetReleasePlainArgs(
        project = project,
        releaseId = releaseId ?: throw PulumiNullFieldException("releaseId"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy