
com.pulumi.gcp.privilegedaccessmanager.kotlin.inputs.GetEntitlementPlainArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.privilegedaccessmanager.kotlin.inputs
import com.pulumi.gcp.privilegedaccessmanager.inputs.GetEntitlementPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* A collection of arguments for invoking getEntitlement.
* @property entitlementId ID of the Entitlement resource. This is the last part of the Entitlement's full name which is of the format `{parent}/locations/{location}/entitlements/{entitlement_id}`.
* @property location The region of the Entitlement resource.
* @property parent The project or folder or organization that contains the resource. Format: projects/{project-id|project-number} or folders/{folder-number} or organizations/{organization-number}
*/
public data class GetEntitlementPlainArgs(
public val entitlementId: String? = null,
public val location: String? = null,
public val parent: String? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.privilegedaccessmanager.inputs.GetEntitlementPlainArgs =
com.pulumi.gcp.privilegedaccessmanager.inputs.GetEntitlementPlainArgs.builder()
.entitlementId(entitlementId?.let({ args0 -> args0 }))
.location(location?.let({ args0 -> args0 }))
.parent(parent?.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetEntitlementPlainArgs].
*/
@PulumiTagMarker
public class GetEntitlementPlainArgsBuilder internal constructor() {
private var entitlementId: String? = null
private var location: String? = null
private var parent: String? = null
/**
* @param value ID of the Entitlement resource. This is the last part of the Entitlement's full name which is of the format `{parent}/locations/{location}/entitlements/{entitlement_id}`.
*/
@JvmName("gxaeuqbtenijkanh")
public suspend fun entitlementId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.entitlementId = mapped
}
/**
* @param value The region of the Entitlement resource.
*/
@JvmName("yuebapwdbfgoaulq")
public suspend fun location(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.location = mapped
}
/**
* @param value The project or folder or organization that contains the resource. Format: projects/{project-id|project-number} or folders/{folder-number} or organizations/{organization-number}
*/
@JvmName("nmmtotvxcxrtyngp")
public suspend fun parent(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.parent = mapped
}
internal fun build(): GetEntitlementPlainArgs = GetEntitlementPlainArgs(
entitlementId = entitlementId,
location = location,
parent = parent,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy