commonMain.aws.sdk.kotlin.services.datazone.model.SsoUserProfileDetails.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of datazone-jvm Show documentation
Show all versions of datazone-jvm Show documentation
The AWS SDK for Kotlin client for DataZone
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.datazone.model
/**
* The single sign-on details of the user profile.
*/
public class SsoUserProfileDetails private constructor(builder: Builder) {
/**
* The first name included in the single sign-on details of the user profile.
*/
public val firstName: kotlin.String? = builder.firstName
/**
* The last name included in the single sign-on details of the user profile.
*/
public val lastName: kotlin.String? = builder.lastName
/**
* The username included in the single sign-on details of the user profile.
*/
public val username: kotlin.String? = builder.username
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.datazone.model.SsoUserProfileDetails = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("SsoUserProfileDetails(")
append("firstName=*** Sensitive Data Redacted ***,")
append("lastName=*** Sensitive Data Redacted ***,")
append("username=*** Sensitive Data Redacted ***")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = firstName?.hashCode() ?: 0
result = 31 * result + (lastName?.hashCode() ?: 0)
result = 31 * result + (username?.hashCode() ?: 0)
return result
}
override fun equals(other: kotlin.Any?): kotlin.Boolean {
if (this === other) return true
if (other == null || this::class != other::class) return false
other as SsoUserProfileDetails
if (firstName != other.firstName) return false
if (lastName != other.lastName) return false
if (username != other.username) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.datazone.model.SsoUserProfileDetails = Builder(this).apply(block).build()
public class Builder {
/**
* The first name included in the single sign-on details of the user profile.
*/
public var firstName: kotlin.String? = null
/**
* The last name included in the single sign-on details of the user profile.
*/
public var lastName: kotlin.String? = null
/**
* The username included in the single sign-on details of the user profile.
*/
public var username: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.datazone.model.SsoUserProfileDetails) : this() {
this.firstName = x.firstName
this.lastName = x.lastName
this.username = x.username
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.datazone.model.SsoUserProfileDetails = SsoUserProfileDetails(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy