com.pulumi.gcp.logging.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-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.logging.kotlin.inputs
import com.pulumi.gcp.logging.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
/**
* A collection of arguments for invoking getSink.
* @property id The identifier for the resource.
* Examples:
* - `projects/[PROJECT_ID]/sinks/[SINK_NAME]`
* - `organizations/[ORGANIZATION_ID]/sinks/[SINK_NAME]`
* - `billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_NAME]`
* - `folders/[FOLDER_ID]/sinks/[SINK_NAME]`
*/
public data class GetSinkPlainArgs(
public val id: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.logging.inputs.GetSinkPlainArgs =
com.pulumi.gcp.logging.inputs.GetSinkPlainArgs.builder()
.id(id.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetSinkPlainArgs].
*/
@PulumiTagMarker
public class GetSinkPlainArgsBuilder internal constructor() {
private var id: String? = null
/**
* @param value The identifier for the resource.
* Examples:
* - `projects/[PROJECT_ID]/sinks/[SINK_NAME]`
* - `organizations/[ORGANIZATION_ID]/sinks/[SINK_NAME]`
* - `billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_NAME]`
* - `folders/[FOLDER_ID]/sinks/[SINK_NAME]`
*/
@JvmName("qyfalekkmssmyuml")
public suspend fun id(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.id = mapped
}
internal fun build(): GetSinkPlainArgs = GetSinkPlainArgs(
id = id ?: throw PulumiNullFieldException("id"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy