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

com.pulumi.azure.pim.kotlin.inputs.RoleManagementPolicyNotificationRulesEligibleAssignmentsArgs.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.pim.kotlin.inputs

import com.pulumi.azure.pim.inputs.RoleManagementPolicyNotificationRulesEligibleAssignmentsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 *
 * @property adminNotifications Admin notification settings
 * @property approverNotifications Approver notification settings
 * @property assigneeNotifications Assignee notification settings
 */
public data class RoleManagementPolicyNotificationRulesEligibleAssignmentsArgs(
    public val adminNotifications: Output? =
        null,
    public val approverNotifications: Output? =
        null,
    public val assigneeNotifications: Output? =
        null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.pim.inputs.RoleManagementPolicyNotificationRulesEligibleAssignmentsArgs =
        com.pulumi.azure.pim.inputs.RoleManagementPolicyNotificationRulesEligibleAssignmentsArgs.builder()
            .adminNotifications(
                adminNotifications?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .approverNotifications(
                approverNotifications?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .assigneeNotifications(
                assigneeNotifications?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            ).build()
}

/**
 * Builder for [RoleManagementPolicyNotificationRulesEligibleAssignmentsArgs].
 */
@PulumiTagMarker
public class RoleManagementPolicyNotificationRulesEligibleAssignmentsArgsBuilder internal constructor() {
    private var adminNotifications:
        Output? = null

    private var approverNotifications:
        Output? =
        null

    private var assigneeNotifications:
        Output? =
        null

    /**
     * @param value Admin notification settings
     */
    @JvmName("iysunkkbcrmtrqgd")
    public suspend fun adminNotifications(`value`: Output) {
        this.adminNotifications = value
    }

    /**
     * @param value Approver notification settings
     */
    @JvmName("nxtmhwrcwkhshevm")
    public suspend fun approverNotifications(`value`: Output) {
        this.approverNotifications = value
    }

    /**
     * @param value Assignee notification settings
     */
    @JvmName("acpxdubayjwmdeyw")
    public suspend fun assigneeNotifications(`value`: Output) {
        this.assigneeNotifications = value
    }

    /**
     * @param value Admin notification settings
     */
    @JvmName("ergbbtuosfahkvtd")
    public suspend fun adminNotifications(`value`: RoleManagementPolicyNotificationRulesEligibleAssignmentsAdminNotificationsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.adminNotifications = mapped
    }

    /**
     * @param argument Admin notification settings
     */
    @JvmName("cedgalsbqmevdyge")
    public suspend fun adminNotifications(argument: suspend RoleManagementPolicyNotificationRulesEligibleAssignmentsAdminNotificationsArgsBuilder.() -> Unit) {
        val toBeMapped =
            RoleManagementPolicyNotificationRulesEligibleAssignmentsAdminNotificationsArgsBuilder().applySuspend {
                argument()
            }.build()
        val mapped = of(toBeMapped)
        this.adminNotifications = mapped
    }

    /**
     * @param value Approver notification settings
     */
    @JvmName("fisfxknkivavlnfe")
    public suspend fun approverNotifications(`value`: RoleManagementPolicyNotificationRulesEligibleAssignmentsApproverNotificationsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.approverNotifications = mapped
    }

    /**
     * @param argument Approver notification settings
     */
    @JvmName("xhhscioqobwievng")
    public suspend fun approverNotifications(argument: suspend RoleManagementPolicyNotificationRulesEligibleAssignmentsApproverNotificationsArgsBuilder.() -> Unit) {
        val toBeMapped =
            RoleManagementPolicyNotificationRulesEligibleAssignmentsApproverNotificationsArgsBuilder().applySuspend {
                argument()
            }.build()
        val mapped = of(toBeMapped)
        this.approverNotifications = mapped
    }

    /**
     * @param value Assignee notification settings
     */
    @JvmName("ejxjcrrepepiqwcu")
    public suspend fun assigneeNotifications(`value`: RoleManagementPolicyNotificationRulesEligibleAssignmentsAssigneeNotificationsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.assigneeNotifications = mapped
    }

    /**
     * @param argument Assignee notification settings
     */
    @JvmName("csocprjfgnjedraw")
    public suspend fun assigneeNotifications(argument: suspend RoleManagementPolicyNotificationRulesEligibleAssignmentsAssigneeNotificationsArgsBuilder.() -> Unit) {
        val toBeMapped =
            RoleManagementPolicyNotificationRulesEligibleAssignmentsAssigneeNotificationsArgsBuilder().applySuspend {
                argument()
            }.build()
        val mapped = of(toBeMapped)
        this.assigneeNotifications = mapped
    }

    internal fun build(): RoleManagementPolicyNotificationRulesEligibleAssignmentsArgs =
        RoleManagementPolicyNotificationRulesEligibleAssignmentsArgs(
            adminNotifications = adminNotifications,
            approverNotifications = approverNotifications,
            assigneeNotifications = assigneeNotifications,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy