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

com.pulumi.gcp.iap.kotlin.inputs.SettingsAccessSettingsAllowedDomainsSettingsArgs.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.13.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.SettingsAccessSettingsAllowedDomainsSettingsArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property domains List of trusted domains.
 * @property enable Configuration for customers to opt in for the feature.
 */
public data class SettingsAccessSettingsAllowedDomainsSettingsArgs(
    public val domains: Output>? = null,
    public val enable: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.iap.inputs.SettingsAccessSettingsAllowedDomainsSettingsArgs = com.pulumi.gcp.iap.inputs.SettingsAccessSettingsAllowedDomainsSettingsArgs.builder()
        .domains(domains?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
        .enable(enable?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [SettingsAccessSettingsAllowedDomainsSettingsArgs].
 */
@PulumiTagMarker
public class SettingsAccessSettingsAllowedDomainsSettingsArgsBuilder internal constructor() {
    private var domains: Output>? = null

    private var enable: Output? = null

    /**
     * @param value List of trusted domains.
     */
    @JvmName("tmqlpbfbpgcnrots")
    public suspend fun domains(`value`: Output>) {
        this.domains = value
    }

    @JvmName("lxrdollxemoplokc")
    public suspend fun domains(vararg values: Output) {
        this.domains = Output.all(values.asList())
    }

    /**
     * @param values List of trusted domains.
     */
    @JvmName("fyksocdywpewrxie")
    public suspend fun domains(values: List>) {
        this.domains = Output.all(values)
    }

    /**
     * @param value Configuration for customers to opt in for the feature.
     */
    @JvmName("anmfpalmlgsijwab")
    public suspend fun enable(`value`: Output) {
        this.enable = value
    }

    /**
     * @param value List of trusted domains.
     */
    @JvmName("cwdlskbkonysosgu")
    public suspend fun domains(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.domains = mapped
    }

    /**
     * @param values List of trusted domains.
     */
    @JvmName("xdmeijycrjkmcyjw")
    public suspend fun domains(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.domains = mapped
    }

    /**
     * @param value Configuration for customers to opt in for the feature.
     */
    @JvmName("fyqryaltvgowvico")
    public suspend fun enable(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.enable = mapped
    }

    internal fun build(): SettingsAccessSettingsAllowedDomainsSettingsArgs =
        SettingsAccessSettingsAllowedDomainsSettingsArgs(
            domains = domains,
            enable = enable,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy