com.pulumi.gcp.apphub.kotlin.inputs.GetApplicationPlainArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.apphub.kotlin.inputs
import com.pulumi.gcp.apphub.inputs.GetApplicationPlainArgs.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
/**
* A collection of arguments for invoking getApplication.
* @property applicationId
* @property location
* @property project
*/
public data class GetApplicationPlainArgs(
public val applicationId: String,
public val location: String,
public val project: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.apphub.inputs.GetApplicationPlainArgs =
com.pulumi.gcp.apphub.inputs.GetApplicationPlainArgs.builder()
.applicationId(applicationId.let({ args0 -> args0 }))
.location(location.let({ args0 -> args0 }))
.project(project.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetApplicationPlainArgs].
*/
@PulumiTagMarker
public class GetApplicationPlainArgsBuilder internal constructor() {
private var applicationId: String? = null
private var location: String? = null
private var project: String? = null
/**
* @param value
*/
@JvmName("mtvisjdgyjimveua")
public suspend fun applicationId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.applicationId = mapped
}
/**
* @param value
*/
@JvmName("nbkyfityojafhxyt")
public suspend fun location(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.location = mapped
}
/**
* @param value
*/
@JvmName("mkcjqbyfftxqifkx")
public suspend fun project(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.project = mapped
}
internal fun build(): GetApplicationPlainArgs = GetApplicationPlainArgs(
applicationId = applicationId ?: throw PulumiNullFieldException("applicationId"),
location = location ?: throw PulumiNullFieldException("location"),
project = project ?: throw PulumiNullFieldException("project"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy