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

com.pulumi.azure.lighthouse.kotlin.inputs.DefinitionEligibleAuthorizationJustInTimeAccessPolicyApproverArgs.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: 6.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.lighthouse.kotlin.inputs

import com.pulumi.azure.lighthouse.inputs.DefinitionEligibleAuthorizationJustInTimeAccessPolicyApproverArgs.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

/**
 *
 * @property principalDisplayName The display name of the Azure Active Directory Principal for the approver.
 * @property principalId The Principal ID of the Azure Active Directory principal for the approver.
 */
public data class DefinitionEligibleAuthorizationJustInTimeAccessPolicyApproverArgs(
    public val principalDisplayName: Output? = null,
    public val principalId: Output,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.lighthouse.inputs.DefinitionEligibleAuthorizationJustInTimeAccessPolicyApproverArgs =
        com.pulumi.azure.lighthouse.inputs.DefinitionEligibleAuthorizationJustInTimeAccessPolicyApproverArgs.builder()
            .principalDisplayName(principalDisplayName?.applyValue({ args0 -> args0 }))
            .principalId(principalId.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [DefinitionEligibleAuthorizationJustInTimeAccessPolicyApproverArgs].
 */
@PulumiTagMarker
public class DefinitionEligibleAuthorizationJustInTimeAccessPolicyApproverArgsBuilder internal constructor() {
    private var principalDisplayName: Output? = null

    private var principalId: Output? = null

    /**
     * @param value The display name of the Azure Active Directory Principal for the approver.
     */
    @JvmName("upwjefkqnyoodotm")
    public suspend fun principalDisplayName(`value`: Output) {
        this.principalDisplayName = value
    }

    /**
     * @param value The Principal ID of the Azure Active Directory principal for the approver.
     */
    @JvmName("qxnprjvmysfdkmaf")
    public suspend fun principalId(`value`: Output) {
        this.principalId = value
    }

    /**
     * @param value The display name of the Azure Active Directory Principal for the approver.
     */
    @JvmName("cmjdkssnrjkxabqf")
    public suspend fun principalDisplayName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.principalDisplayName = mapped
    }

    /**
     * @param value The Principal ID of the Azure Active Directory principal for the approver.
     */
    @JvmName("bqioisomecewbfbb")
    public suspend fun principalId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.principalId = mapped
    }

    internal fun build(): DefinitionEligibleAuthorizationJustInTimeAccessPolicyApproverArgs =
        DefinitionEligibleAuthorizationJustInTimeAccessPolicyApproverArgs(
            principalDisplayName = principalDisplayName,
            principalId = principalId ?: throw PulumiNullFieldException("principalId"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy