All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.googlenative.cloudchannel.v1.kotlin.inputs.GetEntitlementPlainArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.cloudchannel.v1.kotlin.inputs

import com.pulumi.googlenative.cloudchannel.v1.inputs.GetEntitlementPlainArgs.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

/**
 *
 * @property accountId
 * @property customerId
 * @property entitlementId
 */
public data class GetEntitlementPlainArgs(
    public val accountId: String,
    public val customerId: String,
    public val entitlementId: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.googlenative.cloudchannel.v1.inputs.GetEntitlementPlainArgs =
        com.pulumi.googlenative.cloudchannel.v1.inputs.GetEntitlementPlainArgs.builder()
            .accountId(accountId.let({ args0 -> args0 }))
            .customerId(customerId.let({ args0 -> args0 }))
            .entitlementId(entitlementId.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetEntitlementPlainArgs].
 */
@PulumiTagMarker
public class GetEntitlementPlainArgsBuilder internal constructor() {
    private var accountId: String? = null

    private var customerId: String? = null

    private var entitlementId: String? = null

    /**
     * @param value
     */
    @JvmName("rcerymkhryhomrar")
    public suspend fun accountId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.accountId = mapped
    }

    /**
     * @param value
     */
    @JvmName("clyhxxdfyswgwqir")
    public suspend fun customerId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.customerId = mapped
    }

    /**
     * @param value
     */
    @JvmName("cuaxgtodlxaiscig")
    public suspend fun entitlementId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.entitlementId = mapped
    }

    internal fun build(): GetEntitlementPlainArgs = GetEntitlementPlainArgs(
        accountId = accountId ?: throw PulumiNullFieldException("accountId"),
        customerId = customerId ?: throw PulumiNullFieldException("customerId"),
        entitlementId = entitlementId ?: throw PulumiNullFieldException("entitlementId"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy