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

com.pulumi.aws.identitystore.kotlin.inputs.UserEmailsArgs.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: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.identitystore.kotlin.inputs

import com.pulumi.aws.identitystore.inputs.UserEmailsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property primary When `true`, this is the primary email associated with the user.
 * @property type The type of email.
 * @property value The email address. This value must be unique across the identity store.
 */
public data class UserEmailsArgs(
    public val primary: Output? = null,
    public val type: Output? = null,
    public val `value`: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.identitystore.inputs.UserEmailsArgs =
        com.pulumi.aws.identitystore.inputs.UserEmailsArgs.builder()
            .primary(primary?.applyValue({ args0 -> args0 }))
            .type(type?.applyValue({ args0 -> args0 }))
            .`value`(`value`?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [UserEmailsArgs].
 */
@PulumiTagMarker
public class UserEmailsArgsBuilder internal constructor() {
    private var primary: Output? = null

    private var type: Output? = null

    private var `value`: Output? = null

    /**
     * @param value When `true`, this is the primary email associated with the user.
     */
    @JvmName("jlcaddgaxlhlebsk")
    public suspend fun primary(`value`: Output) {
        this.primary = value
    }

    /**
     * @param value The type of email.
     */
    @JvmName("rcjkqblbkkhgkvwf")
    public suspend fun type(`value`: Output) {
        this.type = value
    }

    /**
     * @param value The email address. This value must be unique across the identity store.
     */
    @JvmName("dsyrkpxxcqtyljyr")
    public suspend fun `value`(`value`: Output) {
        this.`value` = value
    }

    /**
     * @param value When `true`, this is the primary email associated with the user.
     */
    @JvmName("enkwxafsppwgxjyx")
    public suspend fun primary(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.primary = mapped
    }

    /**
     * @param value The type of email.
     */
    @JvmName("xvljxggraelgaunv")
    public suspend fun type(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.type = mapped
    }

    /**
     * @param value The email address. This value must be unique across the identity store.
     */
    @JvmName("xteismsunfymcssq")
    public suspend fun `value`(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.`value` = mapped
    }

    internal fun build(): UserEmailsArgs = UserEmailsArgs(
        primary = primary,
        type = type,
        `value` = `value`,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy