![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.connect.kotlin.outputs.UserIdentityInfo.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.connect.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* Contains information about the identity of a user.
* @property email The email address. If you are using SAML for identity management and include this parameter, an error is returned.
* @property firstName The first name. This is required if you are using Amazon Connect or SAML for identity management.
* @property lastName The last name. This is required if you are using Amazon Connect or SAML for identity management.
* @property mobile The user's mobile number.
* @property secondaryEmail The user's secondary email address. If you provide a secondary email, the user receives email notifications -- other than password reset notifications -- to this email address instead of to their primary email address.
* *Pattern* : `(?=^.{0,265}$)[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,63}`
*/
public data class UserIdentityInfo(
public val email: String? = null,
public val firstName: String? = null,
public val lastName: String? = null,
public val mobile: String? = null,
public val secondaryEmail: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.connect.outputs.UserIdentityInfo): UserIdentityInfo = UserIdentityInfo(
email = javaType.email().map({ args0 -> args0 }).orElse(null),
firstName = javaType.firstName().map({ args0 -> args0 }).orElse(null),
lastName = javaType.lastName().map({ args0 -> args0 }).orElse(null),
mobile = javaType.mobile().map({ args0 -> args0 }).orElse(null),
secondaryEmail = javaType.secondaryEmail().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy