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

com.pulumi.azure.billing.kotlin.inputs.GetEnrollmentAccountScopePlainArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.billing.kotlin.inputs

import com.pulumi.azure.billing.inputs.GetEnrollmentAccountScopePlainArgs.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

/**
 * A collection of arguments for invoking getEnrollmentAccountScope.
 * @property billingAccountName The Billing Account Name of the Enterprise Account.
 * @property enrollmentAccountName The Enrollment Account Name in the above Enterprise Account.
 */
public data class GetEnrollmentAccountScopePlainArgs(
    public val billingAccountName: String,
    public val enrollmentAccountName: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.billing.inputs.GetEnrollmentAccountScopePlainArgs =
        com.pulumi.azure.billing.inputs.GetEnrollmentAccountScopePlainArgs.builder()
            .billingAccountName(billingAccountName.let({ args0 -> args0 }))
            .enrollmentAccountName(enrollmentAccountName.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetEnrollmentAccountScopePlainArgs].
 */
@PulumiTagMarker
public class GetEnrollmentAccountScopePlainArgsBuilder internal constructor() {
    private var billingAccountName: String? = null

    private var enrollmentAccountName: String? = null

    /**
     * @param value The Billing Account Name of the Enterprise Account.
     */
    @JvmName("nypyrxdhxcjenfpr")
    public suspend fun billingAccountName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.billingAccountName = mapped
    }

    /**
     * @param value The Enrollment Account Name in the above Enterprise Account.
     */
    @JvmName("avrvysvuwwmysujv")
    public suspend fun enrollmentAccountName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.enrollmentAccountName = mapped
    }

    internal fun build(): GetEnrollmentAccountScopePlainArgs = GetEnrollmentAccountScopePlainArgs(
        billingAccountName = billingAccountName ?: throw PulumiNullFieldException("billingAccountName"),
        enrollmentAccountName = enrollmentAccountName ?: throw
            PulumiNullFieldException("enrollmentAccountName"),
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy