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

com.pulumi.awsnative.detective.kotlin.OrganizationAdminArgs.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: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.detective.kotlin

import com.pulumi.awsnative.detective.OrganizationAdminArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * Resource schema for AWS::Detective::OrganizationAdmin
 * @property accountId The account ID of the account that should be registered as your Organization's delegated administrator for Detective
 */
public data class OrganizationAdminArgs(
    public val accountId: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.detective.OrganizationAdminArgs =
        com.pulumi.awsnative.detective.OrganizationAdminArgs.builder()
            .accountId(accountId?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [OrganizationAdminArgs].
 */
@PulumiTagMarker
public class OrganizationAdminArgsBuilder internal constructor() {
    private var accountId: Output? = null

    /**
     * @param value The account ID of the account that should be registered as your Organization's delegated administrator for Detective
     */
    @JvmName("yowygprfctxguqrd")
    public suspend fun accountId(`value`: Output) {
        this.accountId = value
    }

    /**
     * @param value The account ID of the account that should be registered as your Organization's delegated administrator for Detective
     */
    @JvmName("mrktdlujcxjawxri")
    public suspend fun accountId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.accountId = mapped
    }

    internal fun build(): OrganizationAdminArgs = OrganizationAdminArgs(
        accountId = accountId,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy