com.pulumi.googlenative.apigeeregistry.v1.kotlin.inputs.GetArtifactIamPolicyPlainArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.apigeeregistry.v1.kotlin.inputs
import com.pulumi.googlenative.apigeeregistry.v1.inputs.GetArtifactIamPolicyPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property artifactId
* @property location
* @property optionsRequestedPolicyVersion
* @property project
*/
public data class GetArtifactIamPolicyPlainArgs(
public val artifactId: String,
public val location: String,
public val optionsRequestedPolicyVersion: Int? = null,
public val project: String? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.googlenative.apigeeregistry.v1.inputs.GetArtifactIamPolicyPlainArgs =
com.pulumi.googlenative.apigeeregistry.v1.inputs.GetArtifactIamPolicyPlainArgs.builder()
.artifactId(artifactId.let({ args0 -> args0 }))
.location(location.let({ args0 -> args0 }))
.optionsRequestedPolicyVersion(optionsRequestedPolicyVersion?.let({ args0 -> args0 }))
.project(project?.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetArtifactIamPolicyPlainArgs].
*/
@PulumiTagMarker
public class GetArtifactIamPolicyPlainArgsBuilder internal constructor() {
private var artifactId: String? = null
private var location: String? = null
private var optionsRequestedPolicyVersion: Int? = null
private var project: String? = null
/**
* @param value
*/
@JvmName("lrrvhcwumdgnehbi")
public suspend fun artifactId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.artifactId = mapped
}
/**
* @param value
*/
@JvmName("bmodyjqjnlwujogq")
public suspend fun location(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.location = mapped
}
/**
* @param value
*/
@JvmName("kgjbojdkfapgaqnt")
public suspend fun optionsRequestedPolicyVersion(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.optionsRequestedPolicyVersion = mapped
}
/**
* @param value
*/
@JvmName("fuqdgesditarlpya")
public suspend fun project(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.project = mapped
}
internal fun build(): GetArtifactIamPolicyPlainArgs = GetArtifactIamPolicyPlainArgs(
artifactId = artifactId ?: throw PulumiNullFieldException("artifactId"),
location = location ?: throw PulumiNullFieldException("location"),
optionsRequestedPolicyVersion = optionsRequestedPolicyVersion,
project = project,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy