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

com.pulumi.azurenative.datadog.kotlin.inputs.DatadogOrganizationPropertiesArgs.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.datadog.kotlin.inputs

import com.pulumi.azurenative.datadog.inputs.DatadogOrganizationPropertiesArgs.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

/**
 * Datadog organization properties
 * @property apiKey Api key associated to the Datadog organization.
 * @property applicationKey Application key associated to the Datadog organization.
 * @property enterpriseAppId The Id of the Enterprise App used for Single sign on.
 * @property id Id of the Datadog organization.
 * @property linkingAuthCode The auth code used to linking to an existing datadog organization.
 * @property linkingClientId The client_id from an existing in exchange for an auth token to link organization.
 * @property name Name of the Datadog organization.
 * @property redirectUri The redirect uri for linking.
 */
public data class DatadogOrganizationPropertiesArgs(
    public val apiKey: Output? = null,
    public val applicationKey: Output? = null,
    public val enterpriseAppId: Output? = null,
    public val id: Output? = null,
    public val linkingAuthCode: Output? = null,
    public val linkingClientId: Output? = null,
    public val name: Output? = null,
    public val redirectUri: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.datadog.inputs.DatadogOrganizationPropertiesArgs =
        com.pulumi.azurenative.datadog.inputs.DatadogOrganizationPropertiesArgs.builder()
            .apiKey(apiKey?.applyValue({ args0 -> args0 }))
            .applicationKey(applicationKey?.applyValue({ args0 -> args0 }))
            .enterpriseAppId(enterpriseAppId?.applyValue({ args0 -> args0 }))
            .id(id?.applyValue({ args0 -> args0 }))
            .linkingAuthCode(linkingAuthCode?.applyValue({ args0 -> args0 }))
            .linkingClientId(linkingClientId?.applyValue({ args0 -> args0 }))
            .name(name?.applyValue({ args0 -> args0 }))
            .redirectUri(redirectUri?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [DatadogOrganizationPropertiesArgs].
 */
@PulumiTagMarker
public class DatadogOrganizationPropertiesArgsBuilder internal constructor() {
    private var apiKey: Output? = null

    private var applicationKey: Output? = null

    private var enterpriseAppId: Output? = null

    private var id: Output? = null

    private var linkingAuthCode: Output? = null

    private var linkingClientId: Output? = null

    private var name: Output? = null

    private var redirectUri: Output? = null

    /**
     * @param value Api key associated to the Datadog organization.
     */
    @JvmName("cydyresbvuwkovwm")
    public suspend fun apiKey(`value`: Output) {
        this.apiKey = value
    }

    /**
     * @param value Application key associated to the Datadog organization.
     */
    @JvmName("ggtbndqubnsllbbj")
    public suspend fun applicationKey(`value`: Output) {
        this.applicationKey = value
    }

    /**
     * @param value The Id of the Enterprise App used for Single sign on.
     */
    @JvmName("rfuenoodqdxacysy")
    public suspend fun enterpriseAppId(`value`: Output) {
        this.enterpriseAppId = value
    }

    /**
     * @param value Id of the Datadog organization.
     */
    @JvmName("nbltmtiuuhshhitq")
    public suspend fun id(`value`: Output) {
        this.id = value
    }

    /**
     * @param value The auth code used to linking to an existing datadog organization.
     */
    @JvmName("nlmlcjmmfamfqlgn")
    public suspend fun linkingAuthCode(`value`: Output) {
        this.linkingAuthCode = value
    }

    /**
     * @param value The client_id from an existing in exchange for an auth token to link organization.
     */
    @JvmName("mdthqconulyvulng")
    public suspend fun linkingClientId(`value`: Output) {
        this.linkingClientId = value
    }

    /**
     * @param value Name of the Datadog organization.
     */
    @JvmName("wnxwhpodrdlbjtmk")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value The redirect uri for linking.
     */
    @JvmName("qktrnkiwaojpqclu")
    public suspend fun redirectUri(`value`: Output) {
        this.redirectUri = value
    }

    /**
     * @param value Api key associated to the Datadog organization.
     */
    @JvmName("vbwdufttdcfhtijy")
    public suspend fun apiKey(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.apiKey = mapped
    }

    /**
     * @param value Application key associated to the Datadog organization.
     */
    @JvmName("epohlowhsdnnkemb")
    public suspend fun applicationKey(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.applicationKey = mapped
    }

    /**
     * @param value The Id of the Enterprise App used for Single sign on.
     */
    @JvmName("pljcxwkdpdcgsrnt")
    public suspend fun enterpriseAppId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.enterpriseAppId = mapped
    }

    /**
     * @param value Id of the Datadog organization.
     */
    @JvmName("hnpuhgyanfdlympb")
    public suspend fun id(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.id = mapped
    }

    /**
     * @param value The auth code used to linking to an existing datadog organization.
     */
    @JvmName("efxwifgckuefmrtk")
    public suspend fun linkingAuthCode(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.linkingAuthCode = mapped
    }

    /**
     * @param value The client_id from an existing in exchange for an auth token to link organization.
     */
    @JvmName("cceaejlpqfkoxnqc")
    public suspend fun linkingClientId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.linkingClientId = mapped
    }

    /**
     * @param value Name of the Datadog organization.
     */
    @JvmName("fqcptgjtfrmfcdqh")
    public suspend fun name(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value The redirect uri for linking.
     */
    @JvmName("wrxsevynpeipjxfi")
    public suspend fun redirectUri(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.redirectUri = mapped
    }

    internal fun build(): DatadogOrganizationPropertiesArgs = DatadogOrganizationPropertiesArgs(
        apiKey = apiKey,
        applicationKey = applicationKey,
        enterpriseAppId = enterpriseAppId,
        id = id,
        linkingAuthCode = linkingAuthCode,
        linkingClientId = linkingClientId,
        name = name,
        redirectUri = redirectUri,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy