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

com.pulumi.googlenative.cloudbilling.v1.kotlin.inputs.GetBillingAccountIamPolicyPlainArgs.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.cloudbilling.v1.kotlin.inputs

import com.pulumi.googlenative.cloudbilling.v1.inputs.GetBillingAccountIamPolicyPlainArgs.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 billingAccountId
 * @property optionsRequestedPolicyVersion
 */
public data class GetBillingAccountIamPolicyPlainArgs(
    public val billingAccountId: String,
    public val optionsRequestedPolicyVersion: Int? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.googlenative.cloudbilling.v1.inputs.GetBillingAccountIamPolicyPlainArgs =
        com.pulumi.googlenative.cloudbilling.v1.inputs.GetBillingAccountIamPolicyPlainArgs.builder()
            .billingAccountId(billingAccountId.let({ args0 -> args0 }))
            .optionsRequestedPolicyVersion(optionsRequestedPolicyVersion?.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetBillingAccountIamPolicyPlainArgs].
 */
@PulumiTagMarker
public class GetBillingAccountIamPolicyPlainArgsBuilder internal constructor() {
    private var billingAccountId: String? = null

    private var optionsRequestedPolicyVersion: Int? = null

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

    /**
     * @param value
     */
    @JvmName("jtcdiswbojjgxqaa")
    public suspend fun optionsRequestedPolicyVersion(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> args0 })
        this.optionsRequestedPolicyVersion = mapped
    }

    internal fun build(): GetBillingAccountIamPolicyPlainArgs = GetBillingAccountIamPolicyPlainArgs(
        billingAccountId = billingAccountId ?: throw PulumiNullFieldException("billingAccountId"),
        optionsRequestedPolicyVersion = optionsRequestedPolicyVersion,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy