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

com.pulumi.azurenative.datamigration.kotlin.inputs.AzureActiveDirectoryAppArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.datamigration.kotlin.inputs

import com.pulumi.azurenative.datamigration.inputs.AzureActiveDirectoryAppArgs.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

/**
 * Azure Active Directory Application
 * @property appKey Key used to authenticate to the Azure Active Directory Application
 * @property applicationId Application ID of the Azure Active Directory Application
 * @property tenantId Tenant id of the customer
 */
public data class AzureActiveDirectoryAppArgs(
    public val appKey: Output,
    public val applicationId: Output,
    public val tenantId: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.datamigration.inputs.AzureActiveDirectoryAppArgs =
        com.pulumi.azurenative.datamigration.inputs.AzureActiveDirectoryAppArgs.builder()
            .appKey(appKey.applyValue({ args0 -> args0 }))
            .applicationId(applicationId.applyValue({ args0 -> args0 }))
            .tenantId(tenantId.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [AzureActiveDirectoryAppArgs].
 */
@PulumiTagMarker
public class AzureActiveDirectoryAppArgsBuilder internal constructor() {
    private var appKey: Output? = null

    private var applicationId: Output? = null

    private var tenantId: Output? = null

    /**
     * @param value Key used to authenticate to the Azure Active Directory Application
     */
    @JvmName("pgldxhwgmmkehauw")
    public suspend fun appKey(`value`: Output) {
        this.appKey = value
    }

    /**
     * @param value Application ID of the Azure Active Directory Application
     */
    @JvmName("knhjhmsygolmupxv")
    public suspend fun applicationId(`value`: Output) {
        this.applicationId = value
    }

    /**
     * @param value Tenant id of the customer
     */
    @JvmName("jlpqftpcfiecgwnb")
    public suspend fun tenantId(`value`: Output) {
        this.tenantId = value
    }

    /**
     * @param value Key used to authenticate to the Azure Active Directory Application
     */
    @JvmName("gpwhxgpngleisfht")
    public suspend fun appKey(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.appKey = mapped
    }

    /**
     * @param value Application ID of the Azure Active Directory Application
     */
    @JvmName("jopxsawiripvetvg")
    public suspend fun applicationId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.applicationId = mapped
    }

    /**
     * @param value Tenant id of the customer
     */
    @JvmName("venokesnhhlcvnsk")
    public suspend fun tenantId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.tenantId = mapped
    }

    internal fun build(): AzureActiveDirectoryAppArgs = AzureActiveDirectoryAppArgs(
        appKey = appKey ?: throw PulumiNullFieldException("appKey"),
        applicationId = applicationId ?: throw PulumiNullFieldException("applicationId"),
        tenantId = tenantId ?: throw PulumiNullFieldException("tenantId"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy