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

com.pulumi.cloudflare.kotlin.inputs.AccessGroupIncludeGsuiteArgs.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.

The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.cloudflare.kotlin.inputs

import com.pulumi.cloudflare.inputs.AccessGroupIncludeGsuiteArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property emails The email of the Google Workspace group.
 * @property identityProviderId The ID of your Google Workspace identity provider.
 */
public data class AccessGroupIncludeGsuiteArgs(
    public val emails: Output>? = null,
    public val identityProviderId: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.cloudflare.inputs.AccessGroupIncludeGsuiteArgs =
        com.pulumi.cloudflare.inputs.AccessGroupIncludeGsuiteArgs.builder()
            .emails(emails?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .identityProviderId(identityProviderId?.applyValue({ args0 -> args0 })).build()
}

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

    private var identityProviderId: Output? = null

    /**
     * @param value The email of the Google Workspace group.
     */
    @JvmName("qravmxgulsdjyinn")
    public suspend fun emails(`value`: Output>) {
        this.emails = value
    }

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

    /**
     * @param values The email of the Google Workspace group.
     */
    @JvmName("fyytllppajwtuirm")
    public suspend fun emails(values: List>) {
        this.emails = Output.all(values)
    }

    /**
     * @param value The ID of your Google Workspace identity provider.
     */
    @JvmName("ojsqaimypmheaxqj")
    public suspend fun identityProviderId(`value`: Output) {
        this.identityProviderId = value
    }

    /**
     * @param value The email of the Google Workspace group.
     */
    @JvmName("eqkkbwqlwmbxyntd")
    public suspend fun emails(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.emails = mapped
    }

    /**
     * @param values The email of the Google Workspace group.
     */
    @JvmName("uhdnjsfrtibnykqq")
    public suspend fun emails(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.emails = mapped
    }

    /**
     * @param value The ID of your Google Workspace identity provider.
     */
    @JvmName("lixobwmgbfgakisp")
    public suspend fun identityProviderId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.identityProviderId = mapped
    }

    internal fun build(): AccessGroupIncludeGsuiteArgs = AccessGroupIncludeGsuiteArgs(
        emails = emails,
        identityProviderId = identityProviderId,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy