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

com.pulumi.awsnative.connect.kotlin.outputs.GetUserResult.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: 1.11.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.connect.kotlin.outputs

import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property directoryUserId The identifier of the user account in the directory used for identity management.
 * @property hierarchyGroupArn The identifier of the hierarchy group for the user.
 * @property identityInfo The information about the identity of the user.
 * @property instanceArn The identifier of the Amazon Connect instance.
 * @property phoneConfig The phone settings for the user.
 * @property routingProfileArn The identifier of the routing profile for the user.
 * @property securityProfileArns One or more security profile arns for the user
 * @property tags One or more tags.
 * @property userArn The Amazon Resource Name (ARN) for the user.
 * @property userProficiencies One or more predefined attributes assigned to a user, with a level that indicates how skilled they are.
 * @property username The user name for the account.
 */
public data class GetUserResult(
    public val directoryUserId: String? = null,
    public val hierarchyGroupArn: String? = null,
    public val identityInfo: UserIdentityInfo? = null,
    public val instanceArn: String? = null,
    public val phoneConfig: UserPhoneConfig? = null,
    public val routingProfileArn: String? = null,
    public val securityProfileArns: List? = null,
    public val tags: List? = null,
    public val userArn: String? = null,
    public val userProficiencies: List? = null,
    public val username: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.connect.outputs.GetUserResult): GetUserResult = GetUserResult(
            directoryUserId = javaType.directoryUserId().map({ args0 -> args0 }).orElse(null),
            hierarchyGroupArn = javaType.hierarchyGroupArn().map({ args0 -> args0 }).orElse(null),
            identityInfo = javaType.identityInfo().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.connect.kotlin.outputs.UserIdentityInfo.Companion.toKotlin(args0)
                })
            }).orElse(null),
            instanceArn = javaType.instanceArn().map({ args0 -> args0 }).orElse(null),
            phoneConfig = javaType.phoneConfig().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.connect.kotlin.outputs.UserPhoneConfig.Companion.toKotlin(args0)
                })
            }).orElse(null),
            routingProfileArn = javaType.routingProfileArn().map({ args0 -> args0 }).orElse(null),
            securityProfileArns = javaType.securityProfileArns().map({ args0 -> args0 }),
            tags = javaType.tags().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
                })
            }),
            userArn = javaType.userArn().map({ args0 -> args0 }).orElse(null),
            userProficiencies = javaType.userProficiencies().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.connect.kotlin.outputs.UserProficiency.Companion.toKotlin(args0)
                })
            }),
            username = javaType.username().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy