
com.pulumi.googlenative.logging.v2.kotlin.inputs.GetSinkPlainArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-google-native-kotlin Show documentation
Show all versions of pulumi-google-native-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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.logging.v2.kotlin.inputs
import com.pulumi.googlenative.logging.v2.inputs.GetSinkPlainArgs.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 sinkId
*/
public data class GetSinkPlainArgs(
public val project: String? = null,
public val sinkId: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.googlenative.logging.v2.inputs.GetSinkPlainArgs =
com.pulumi.googlenative.logging.v2.inputs.GetSinkPlainArgs.builder()
.project(project?.let({ args0 -> args0 }))
.sinkId(sinkId.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetSinkPlainArgs].
*/
@PulumiTagMarker
public class GetSinkPlainArgsBuilder internal constructor() {
private var project: String? = null
private var sinkId: String? = null
/**
* @param value
*/
@JvmName("igkocgwjicdhoqnm")
public suspend fun project(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.project = mapped
}
/**
* @param value
*/
@JvmName("miekqfonegwtnxxv")
public suspend fun sinkId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.sinkId = mapped
}
internal fun build(): GetSinkPlainArgs = GetSinkPlainArgs(
project = project,
sinkId = sinkId ?: throw PulumiNullFieldException("sinkId"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy