
com.pulumi.googlenative.securitycenter.v1.kotlin.inputs.GetSourcePlainArgs.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.securitycenter.v1.kotlin.inputs
import com.pulumi.googlenative.securitycenter.v1.inputs.GetSourcePlainArgs.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 organizationId
* @property sourceId
*/
public data class GetSourcePlainArgs(
public val organizationId: String,
public val sourceId: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.googlenative.securitycenter.v1.inputs.GetSourcePlainArgs =
com.pulumi.googlenative.securitycenter.v1.inputs.GetSourcePlainArgs.builder()
.organizationId(organizationId.let({ args0 -> args0 }))
.sourceId(sourceId.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetSourcePlainArgs].
*/
@PulumiTagMarker
public class GetSourcePlainArgsBuilder internal constructor() {
private var organizationId: String? = null
private var sourceId: String? = null
/**
* @param value
*/
@JvmName("nvpneaxmdoheuohn")
public suspend fun organizationId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.organizationId = mapped
}
/**
* @param value
*/
@JvmName("ybmfbfcqyengwvjl")
public suspend fun sourceId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.sourceId = mapped
}
internal fun build(): GetSourcePlainArgs = GetSourcePlainArgs(
organizationId = organizationId ?: throw PulumiNullFieldException("organizationId"),
sourceId = sourceId ?: throw PulumiNullFieldException("sourceId"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy