com.pulumi.gcp.accessapproval.kotlin.inputs.GetFolderServiceAccountPlainArgs.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.accessapproval.kotlin.inputs
import com.pulumi.gcp.accessapproval.inputs.GetFolderServiceAccountPlainArgs.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 getFolderServiceAccount.
* @property folderId The folder ID the service account was created for.
*/
public data class GetFolderServiceAccountPlainArgs(
public val folderId: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.accessapproval.inputs.GetFolderServiceAccountPlainArgs =
com.pulumi.gcp.accessapproval.inputs.GetFolderServiceAccountPlainArgs.builder()
.folderId(folderId.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetFolderServiceAccountPlainArgs].
*/
@PulumiTagMarker
public class GetFolderServiceAccountPlainArgsBuilder internal constructor() {
private var folderId: String? = null
/**
* @param value The folder ID the service account was created for.
*/
@JvmName("muxoecghtqddotfu")
public suspend fun folderId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.folderId = mapped
}
internal fun build(): GetFolderServiceAccountPlainArgs = GetFolderServiceAccountPlainArgs(
folderId = folderId ?: throw PulumiNullFieldException("folderId"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy