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

com.pulumi.gcp.privilegedaccessmanager.kotlin.inputs.EntitlementRequesterJustificationConfigArgs.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: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.privilegedaccessmanager.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.privilegedaccessmanager.inputs.EntitlementRequesterJustificationConfigArgs.builder
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 notMandatory The justification is not mandatory but can be provided in any of the supported formats.
 * @property unstructured The requester has to provide a justification in the form of free flowing text.
 * - - -
 */
public data class EntitlementRequesterJustificationConfigArgs(
    public val notMandatory: Output? = null,
    public val unstructured: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.privilegedaccessmanager.inputs.EntitlementRequesterJustificationConfigArgs =
        com.pulumi.gcp.privilegedaccessmanager.inputs.EntitlementRequesterJustificationConfigArgs.builder()
            .notMandatory(notMandatory?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .unstructured(unstructured?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [EntitlementRequesterJustificationConfigArgs].
 */
@PulumiTagMarker
public class EntitlementRequesterJustificationConfigArgsBuilder internal constructor() {
    private var notMandatory: Output? = null

    private var unstructured: Output? = null

    /**
     * @param value The justification is not mandatory but can be provided in any of the supported formats.
     */
    @JvmName("okhowvyupjtxfkda")
    public suspend fun notMandatory(`value`: Output) {
        this.notMandatory = value
    }

    /**
     * @param value The requester has to provide a justification in the form of free flowing text.
     * - - -
     */
    @JvmName("qvumavbtiadcefgx")
    public suspend fun unstructured(`value`: Output) {
        this.unstructured = value
    }

    /**
     * @param value The justification is not mandatory but can be provided in any of the supported formats.
     */
    @JvmName("imeutlmvrbjxrqiy")
    public suspend fun notMandatory(`value`: EntitlementRequesterJustificationConfigNotMandatoryArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.notMandatory = mapped
    }

    /**
     * @param argument The justification is not mandatory but can be provided in any of the supported formats.
     */
    @JvmName("vvjvhcbetyekxhrl")
    public suspend fun notMandatory(argument: suspend EntitlementRequesterJustificationConfigNotMandatoryArgsBuilder.() -> Unit) {
        val toBeMapped = EntitlementRequesterJustificationConfigNotMandatoryArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.notMandatory = mapped
    }

    /**
     * @param value The requester has to provide a justification in the form of free flowing text.
     * - - -
     */
    @JvmName("hddjqofctujblqsp")
    public suspend fun unstructured(`value`: EntitlementRequesterJustificationConfigUnstructuredArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.unstructured = mapped
    }

    /**
     * @param argument The requester has to provide a justification in the form of free flowing text.
     * - - -
     */
    @JvmName("gadmsdnmyccmpocg")
    public suspend fun unstructured(argument: suspend EntitlementRequesterJustificationConfigUnstructuredArgsBuilder.() -> Unit) {
        val toBeMapped = EntitlementRequesterJustificationConfigUnstructuredArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.unstructured = mapped
    }

    internal fun build(): EntitlementRequesterJustificationConfigArgs =
        EntitlementRequesterJustificationConfigArgs(
            notMandatory = notMandatory,
            unstructured = unstructured,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy