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

com.pulumi.azurenative.securityinsights.kotlin.inputs.CustomPermissionDetailsArgs.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.securityinsights.kotlin.inputs

import com.pulumi.azurenative.securityinsights.inputs.CustomPermissionDetailsArgs.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

/**
 * The Custom permissions required for the connector.
 * @property description Gets or sets the custom permissions description.
 * @property name Gets or sets the custom permissions name.
 */
public data class CustomPermissionDetailsArgs(
    public val description: Output,
    public val name: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.securityinsights.inputs.CustomPermissionDetailsArgs = com.pulumi.azurenative.securityinsights.inputs.CustomPermissionDetailsArgs.builder()
        .description(description.applyValue({ args0 -> args0 }))
        .name(name.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [CustomPermissionDetailsArgs].
 */
@PulumiTagMarker
public class CustomPermissionDetailsArgsBuilder internal constructor() {
    private var description: Output? = null

    private var name: Output? = null

    /**
     * @param value Gets or sets the custom permissions description.
     */
    @JvmName("gmdxasrilkvyvovr")
    public suspend fun description(`value`: Output) {
        this.description = value
    }

    /**
     * @param value Gets or sets the custom permissions name.
     */
    @JvmName("uptmequgxruhkccc")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value Gets or sets the custom permissions description.
     */
    @JvmName("uasmdbvrirgfherm")
    public suspend fun description(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.description = mapped
    }

    /**
     * @param value Gets or sets the custom permissions name.
     */
    @JvmName("psttkrurtqsdkqwt")
    public suspend fun name(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.name = mapped
    }

    internal fun build(): CustomPermissionDetailsArgs = CustomPermissionDetailsArgs(
        description = description ?: throw PulumiNullFieldException("description"),
        name = name ?: throw PulumiNullFieldException("name"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy