com.pulumi.gcp.endpoints.kotlin.inputs.GetServiceIamPolicyPlainArgs.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.endpoints.kotlin.inputs
import com.pulumi.gcp.endpoints.inputs.GetServiceIamPolicyPlainArgs.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 getServiceIamPolicy.
* @property serviceName
*/
public data class GetServiceIamPolicyPlainArgs(
public val serviceName: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.endpoints.inputs.GetServiceIamPolicyPlainArgs =
com.pulumi.gcp.endpoints.inputs.GetServiceIamPolicyPlainArgs.builder()
.serviceName(serviceName.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetServiceIamPolicyPlainArgs].
*/
@PulumiTagMarker
public class GetServiceIamPolicyPlainArgsBuilder internal constructor() {
private var serviceName: String? = null
/**
* @param value
*/
@JvmName("moxhvcdriavnxsba")
public suspend fun serviceName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.serviceName = mapped
}
internal fun build(): GetServiceIamPolicyPlainArgs = GetServiceIamPolicyPlainArgs(
serviceName = serviceName ?: throw PulumiNullFieldException("serviceName"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy