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

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

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

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

/**
 *
 * @property familyName The family name of the user.
 * @property formatted The name that is typically displayed when the name is shown for display.
 * @property givenName The given name of the user.
 * The following arguments are optional:
 * @property honorificPrefix The honorific prefix of the user.
 * @property honorificSuffix The honorific suffix of the user.
 * @property middleName The middle name of the user.
 */
public data class UserNameArgs(
    public val familyName: Output,
    public val formatted: Output? = null,
    public val givenName: Output,
    public val honorificPrefix: Output? = null,
    public val honorificSuffix: Output? = null,
    public val middleName: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.identitystore.inputs.UserNameArgs =
        com.pulumi.aws.identitystore.inputs.UserNameArgs.builder()
            .familyName(familyName.applyValue({ args0 -> args0 }))
            .formatted(formatted?.applyValue({ args0 -> args0 }))
            .givenName(givenName.applyValue({ args0 -> args0 }))
            .honorificPrefix(honorificPrefix?.applyValue({ args0 -> args0 }))
            .honorificSuffix(honorificSuffix?.applyValue({ args0 -> args0 }))
            .middleName(middleName?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [UserNameArgs].
 */
@PulumiTagMarker
public class UserNameArgsBuilder internal constructor() {
    private var familyName: Output? = null

    private var formatted: Output? = null

    private var givenName: Output? = null

    private var honorificPrefix: Output? = null

    private var honorificSuffix: Output? = null

    private var middleName: Output? = null

    /**
     * @param value The family name of the user.
     */
    @JvmName("oipxrdeynpnivrsw")
    public suspend fun familyName(`value`: Output) {
        this.familyName = value
    }

    /**
     * @param value The name that is typically displayed when the name is shown for display.
     */
    @JvmName("umviirlmvstfjufu")
    public suspend fun formatted(`value`: Output) {
        this.formatted = value
    }

    /**
     * @param value The given name of the user.
     * The following arguments are optional:
     */
    @JvmName("incchwptvnaallar")
    public suspend fun givenName(`value`: Output) {
        this.givenName = value
    }

    /**
     * @param value The honorific prefix of the user.
     */
    @JvmName("jcuqavgxtpgovlvx")
    public suspend fun honorificPrefix(`value`: Output) {
        this.honorificPrefix = value
    }

    /**
     * @param value The honorific suffix of the user.
     */
    @JvmName("goowpulebsdqyysu")
    public suspend fun honorificSuffix(`value`: Output) {
        this.honorificSuffix = value
    }

    /**
     * @param value The middle name of the user.
     */
    @JvmName("owowoqoijttrjovc")
    public suspend fun middleName(`value`: Output) {
        this.middleName = value
    }

    /**
     * @param value The family name of the user.
     */
    @JvmName("qqklgdpixsiilwdg")
    public suspend fun familyName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.familyName = mapped
    }

    /**
     * @param value The name that is typically displayed when the name is shown for display.
     */
    @JvmName("vfuxinaaenwttxlt")
    public suspend fun formatted(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.formatted = mapped
    }

    /**
     * @param value The given name of the user.
     * The following arguments are optional:
     */
    @JvmName("hnjljttntvwvlamq")
    public suspend fun givenName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.givenName = mapped
    }

    /**
     * @param value The honorific prefix of the user.
     */
    @JvmName("nvctqmtecgjepiek")
    public suspend fun honorificPrefix(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.honorificPrefix = mapped
    }

    /**
     * @param value The honorific suffix of the user.
     */
    @JvmName("fhudgblgbqhwhmiv")
    public suspend fun honorificSuffix(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.honorificSuffix = mapped
    }

    /**
     * @param value The middle name of the user.
     */
    @JvmName("biirekgldhsgkqld")
    public suspend fun middleName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.middleName = mapped
    }

    internal fun build(): UserNameArgs = UserNameArgs(
        familyName = familyName ?: throw PulumiNullFieldException("familyName"),
        formatted = formatted,
        givenName = givenName ?: throw PulumiNullFieldException("givenName"),
        honorificPrefix = honorificPrefix,
        honorificSuffix = honorificSuffix,
        middleName = middleName,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy