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

com.pulumi.azurenative.billing.kotlin.inputs.GetAssociatedTenantPlainArgs.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.

There is a newer version: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.billing.kotlin.inputs

import com.pulumi.azurenative.billing.inputs.GetAssociatedTenantPlainArgs.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 associatedTenantName The ID that uniquely identifies a tenant.
 * @property billingAccountName The ID that uniquely identifies a billing account.
 */
public data class GetAssociatedTenantPlainArgs(
    public val associatedTenantName: String,
    public val billingAccountName: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.billing.inputs.GetAssociatedTenantPlainArgs =
        com.pulumi.azurenative.billing.inputs.GetAssociatedTenantPlainArgs.builder()
            .associatedTenantName(associatedTenantName.let({ args0 -> args0 }))
            .billingAccountName(billingAccountName.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetAssociatedTenantPlainArgs].
 */
@PulumiTagMarker
public class GetAssociatedTenantPlainArgsBuilder internal constructor() {
    private var associatedTenantName: String? = null

    private var billingAccountName: String? = null

    /**
     * @param value The ID that uniquely identifies a tenant.
     */
    @JvmName("amajkeukujpcrmno")
    public suspend fun associatedTenantName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.associatedTenantName = mapped
    }

    /**
     * @param value The ID that uniquely identifies a billing account.
     */
    @JvmName("ntumjevvpahjpwxw")
    public suspend fun billingAccountName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.billingAccountName = mapped
    }

    internal fun build(): GetAssociatedTenantPlainArgs = GetAssociatedTenantPlainArgs(
        associatedTenantName = associatedTenantName ?: throw
            PulumiNullFieldException("associatedTenantName"),
        billingAccountName = billingAccountName ?: throw PulumiNullFieldException("billingAccountName"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy