com.pulumi.gcp.apigee.kotlin.inputs.GetEnvironmentIamPolicyPlainArgs.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.apigee.kotlin.inputs
import com.pulumi.gcp.apigee.inputs.GetEnvironmentIamPolicyPlainArgs.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 getEnvironmentIamPolicy.
* @property envId Used to find the parent resource to bind the IAM policy to
* @property orgId
*/
public data class GetEnvironmentIamPolicyPlainArgs(
public val envId: String,
public val orgId: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.apigee.inputs.GetEnvironmentIamPolicyPlainArgs =
com.pulumi.gcp.apigee.inputs.GetEnvironmentIamPolicyPlainArgs.builder()
.envId(envId.let({ args0 -> args0 }))
.orgId(orgId.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetEnvironmentIamPolicyPlainArgs].
*/
@PulumiTagMarker
public class GetEnvironmentIamPolicyPlainArgsBuilder internal constructor() {
private var envId: String? = null
private var orgId: String? = null
/**
* @param value Used to find the parent resource to bind the IAM policy to
*/
@JvmName("oudrhwxpgevyjdol")
public suspend fun envId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.envId = mapped
}
/**
* @param value
*/
@JvmName("hfyggpkkqhcnwsuj")
public suspend fun orgId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.orgId = mapped
}
internal fun build(): GetEnvironmentIamPolicyPlainArgs = GetEnvironmentIamPolicyPlainArgs(
envId = envId ?: throw PulumiNullFieldException("envId"),
orgId = orgId ?: throw PulumiNullFieldException("orgId"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy