![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.costmanagement.kotlin.inputs.CustomerMetadataArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.costmanagement.kotlin.inputs
import com.pulumi.azurenative.costmanagement.inputs.CustomerMetadataArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
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
/**
* The customer billing metadata
* @property billingAccountId Customer billing account id
* @property billingProfileId Customer billing profile id
*/
public data class CustomerMetadataArgs(
public val billingAccountId: Output,
public val billingProfileId: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.costmanagement.inputs.CustomerMetadataArgs =
com.pulumi.azurenative.costmanagement.inputs.CustomerMetadataArgs.builder()
.billingAccountId(billingAccountId.applyValue({ args0 -> args0 }))
.billingProfileId(billingProfileId.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [CustomerMetadataArgs].
*/
@PulumiTagMarker
public class CustomerMetadataArgsBuilder internal constructor() {
private var billingAccountId: Output? = null
private var billingProfileId: Output? = null
/**
* @param value Customer billing account id
*/
@JvmName("jxisfmuebwqvvnrr")
public suspend fun billingAccountId(`value`: Output) {
this.billingAccountId = value
}
/**
* @param value Customer billing profile id
*/
@JvmName("aoswsppnronardov")
public suspend fun billingProfileId(`value`: Output) {
this.billingProfileId = value
}
/**
* @param value Customer billing account id
*/
@JvmName("yeycilirvyeqpfll")
public suspend fun billingAccountId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.billingAccountId = mapped
}
/**
* @param value Customer billing profile id
*/
@JvmName("gghrrvvpgavhducf")
public suspend fun billingProfileId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.billingProfileId = mapped
}
internal fun build(): CustomerMetadataArgs = CustomerMetadataArgs(
billingAccountId = billingAccountId ?: throw PulumiNullFieldException("billingAccountId"),
billingProfileId = billingProfileId ?: throw PulumiNullFieldException("billingProfileId"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy