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

com.pulumi.awsnative.organizations.kotlin.inputs.GetAccountPlainArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.organizations.kotlin.inputs

import com.pulumi.awsnative.organizations.inputs.GetAccountPlainArgs.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 If the account was created successfully, the unique identifier (ID) of the new account.
 */
public data class GetAccountPlainArgs(
    public val accountId: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.organizations.inputs.GetAccountPlainArgs =
        com.pulumi.awsnative.organizations.inputs.GetAccountPlainArgs.builder()
            .accountId(accountId.let({ args0 -> args0 })).build()
}

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

    /**
     * @param value If the account was created successfully, the unique identifier (ID) of the new account.
     */
    @JvmName("ebpetemavpuyvuhn")
    public suspend fun accountId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.accountId = mapped
    }

    internal fun build(): GetAccountPlainArgs = GetAccountPlainArgs(
        accountId = accountId ?: throw PulumiNullFieldException("accountId"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy