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

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

package com.pulumi.gcp.iap.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.iap.inputs.SettingsApplicationSettingsAccessDeniedPageSettingsArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property accessDeniedPageUri The URI to be redirected to when access is denied.
 * @property generateTroubleshootingUri Whether to generate a troubleshooting URL on access denied events to this application.
 * @property remediationTokenGenerationEnabled Whether to generate remediation token on access denied events to this application.
 */
public data class SettingsApplicationSettingsAccessDeniedPageSettingsArgs(
    public val accessDeniedPageUri: Output? = null,
    public val generateTroubleshootingUri: Output? = null,
    public val remediationTokenGenerationEnabled: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.iap.inputs.SettingsApplicationSettingsAccessDeniedPageSettingsArgs =
        com.pulumi.gcp.iap.inputs.SettingsApplicationSettingsAccessDeniedPageSettingsArgs.builder()
            .accessDeniedPageUri(accessDeniedPageUri?.applyValue({ args0 -> args0 }))
            .generateTroubleshootingUri(generateTroubleshootingUri?.applyValue({ args0 -> args0 }))
            .remediationTokenGenerationEnabled(
                remediationTokenGenerationEnabled?.applyValue({ args0 ->
                    args0
                }),
            ).build()
}

/**
 * Builder for [SettingsApplicationSettingsAccessDeniedPageSettingsArgs].
 */
@PulumiTagMarker
public class SettingsApplicationSettingsAccessDeniedPageSettingsArgsBuilder internal constructor() {
    private var accessDeniedPageUri: Output? = null

    private var generateTroubleshootingUri: Output? = null

    private var remediationTokenGenerationEnabled: Output? = null

    /**
     * @param value The URI to be redirected to when access is denied.
     */
    @JvmName("mjplsrfqgjctpxgs")
    public suspend fun accessDeniedPageUri(`value`: Output) {
        this.accessDeniedPageUri = value
    }

    /**
     * @param value Whether to generate a troubleshooting URL on access denied events to this application.
     */
    @JvmName("lymboocglxgmqkuw")
    public suspend fun generateTroubleshootingUri(`value`: Output) {
        this.generateTroubleshootingUri = value
    }

    /**
     * @param value Whether to generate remediation token on access denied events to this application.
     */
    @JvmName("bbaltxoymobknqts")
    public suspend fun remediationTokenGenerationEnabled(`value`: Output) {
        this.remediationTokenGenerationEnabled = value
    }

    /**
     * @param value The URI to be redirected to when access is denied.
     */
    @JvmName("wenjpwdqthgsxjya")
    public suspend fun accessDeniedPageUri(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.accessDeniedPageUri = mapped
    }

    /**
     * @param value Whether to generate a troubleshooting URL on access denied events to this application.
     */
    @JvmName("ctgcdimxkbbrqygm")
    public suspend fun generateTroubleshootingUri(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.generateTroubleshootingUri = mapped
    }

    /**
     * @param value Whether to generate remediation token on access denied events to this application.
     */
    @JvmName("rxhvqwjktppugpof")
    public suspend fun remediationTokenGenerationEnabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.remediationTokenGenerationEnabled = mapped
    }

    internal fun build(): SettingsApplicationSettingsAccessDeniedPageSettingsArgs =
        SettingsApplicationSettingsAccessDeniedPageSettingsArgs(
            accessDeniedPageUri = accessDeniedPageUri,
            generateTroubleshootingUri = generateTroubleshootingUri,
            remediationTokenGenerationEnabled = remediationTokenGenerationEnabled,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy