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

com.pulumi.azurenative.datareplication.kotlin.inputs.IdentityModelArgs.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.datareplication.kotlin.inputs

import com.pulumi.azurenative.datareplication.inputs.IdentityModelArgs.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

/**
 * Identity model.
 * @property aadAuthority Gets or sets the authority of the SPN with which Dra communicates to service.
 * @property applicationId Gets or sets the client/application Id of the SPN with which Dra communicates to
 * service.
 * @property audience Gets or sets the audience of the SPN with which Dra communicates to service.
 * @property objectId Gets or sets the object Id of the SPN with which Dra communicates to service.
 * @property tenantId Gets or sets the tenant Id of the SPN with which Dra communicates to service.
 */
public data class IdentityModelArgs(
    public val aadAuthority: Output,
    public val applicationId: Output,
    public val audience: Output,
    public val objectId: Output,
    public val tenantId: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.datareplication.inputs.IdentityModelArgs =
        com.pulumi.azurenative.datareplication.inputs.IdentityModelArgs.builder()
            .aadAuthority(aadAuthority.applyValue({ args0 -> args0 }))
            .applicationId(applicationId.applyValue({ args0 -> args0 }))
            .audience(audience.applyValue({ args0 -> args0 }))
            .objectId(objectId.applyValue({ args0 -> args0 }))
            .tenantId(tenantId.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [IdentityModelArgs].
 */
@PulumiTagMarker
public class IdentityModelArgsBuilder internal constructor() {
    private var aadAuthority: Output? = null

    private var applicationId: Output? = null

    private var audience: Output? = null

    private var objectId: Output? = null

    private var tenantId: Output? = null

    /**
     * @param value Gets or sets the authority of the SPN with which Dra communicates to service.
     */
    @JvmName("vnsgmtfhjsraipqo")
    public suspend fun aadAuthority(`value`: Output) {
        this.aadAuthority = value
    }

    /**
     * @param value Gets or sets the client/application Id of the SPN with which Dra communicates to
     * service.
     */
    @JvmName("wrwxxfpiikfybxql")
    public suspend fun applicationId(`value`: Output) {
        this.applicationId = value
    }

    /**
     * @param value Gets or sets the audience of the SPN with which Dra communicates to service.
     */
    @JvmName("aqrqmtaxobgbaesi")
    public suspend fun audience(`value`: Output) {
        this.audience = value
    }

    /**
     * @param value Gets or sets the object Id of the SPN with which Dra communicates to service.
     */
    @JvmName("pncvvptvftvaoakn")
    public suspend fun objectId(`value`: Output) {
        this.objectId = value
    }

    /**
     * @param value Gets or sets the tenant Id of the SPN with which Dra communicates to service.
     */
    @JvmName("hcgidjhbrmiahhjp")
    public suspend fun tenantId(`value`: Output) {
        this.tenantId = value
    }

    /**
     * @param value Gets or sets the authority of the SPN with which Dra communicates to service.
     */
    @JvmName("prkipbvjccaqaige")
    public suspend fun aadAuthority(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.aadAuthority = mapped
    }

    /**
     * @param value Gets or sets the client/application Id of the SPN with which Dra communicates to
     * service.
     */
    @JvmName("nwsypjtwehppqapn")
    public suspend fun applicationId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.applicationId = mapped
    }

    /**
     * @param value Gets or sets the audience of the SPN with which Dra communicates to service.
     */
    @JvmName("sixfwsankwcguemc")
    public suspend fun audience(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.audience = mapped
    }

    /**
     * @param value Gets or sets the object Id of the SPN with which Dra communicates to service.
     */
    @JvmName("vskhyovgwqaxxbru")
    public suspend fun objectId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.objectId = mapped
    }

    /**
     * @param value Gets or sets the tenant Id of the SPN with which Dra communicates to service.
     */
    @JvmName("rumnafccdrojonoc")
    public suspend fun tenantId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.tenantId = mapped
    }

    internal fun build(): IdentityModelArgs = IdentityModelArgs(
        aadAuthority = aadAuthority ?: throw PulumiNullFieldException("aadAuthority"),
        applicationId = applicationId ?: throw PulumiNullFieldException("applicationId"),
        audience = audience ?: throw PulumiNullFieldException("audience"),
        objectId = objectId ?: throw PulumiNullFieldException("objectId"),
        tenantId = tenantId ?: throw PulumiNullFieldException("tenantId"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy