commonMain.aws.sdk.kotlin.services.datazone.model.UpdateUserProfileResponse.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
import aws.smithy.kotlin.runtime.SdkDsl
public class UpdateUserProfileResponse private constructor(builder: Builder) {
/**
* The details of the user profile in Amazon DataZone.
*/
public val details: aws.sdk.kotlin.services.datazone.model.UserProfileDetails? = builder.details
/**
* The identifier of the Amazon DataZone domain in which a user profile is updated.
*/
public val domainId: kotlin.String? = builder.domainId
/**
* The identifier of the user profile.
*/
public val id: kotlin.String? = builder.id
/**
* The status of the user profile.
*/
public val status: aws.sdk.kotlin.services.datazone.model.UserProfileStatus? = builder.status
/**
* The type of the user profile.
*/
public val type: aws.sdk.kotlin.services.datazone.model.UserProfileType? = builder.type
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.datazone.model.UpdateUserProfileResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("UpdateUserProfileResponse(")
append("details=$details,")
append("domainId=$domainId,")
append("id=$id,")
append("status=$status,")
append("type=$type")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = details?.hashCode() ?: 0
result = 31 * result + (domainId?.hashCode() ?: 0)
result = 31 * result + (id?.hashCode() ?: 0)
result = 31 * result + (status?.hashCode() ?: 0)
result = 31 * result + (type?.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 UpdateUserProfileResponse
if (details != other.details) return false
if (domainId != other.domainId) return false
if (id != other.id) return false
if (status != other.status) return false
if (type != other.type) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.datazone.model.UpdateUserProfileResponse = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The details of the user profile in Amazon DataZone.
*/
public var details: aws.sdk.kotlin.services.datazone.model.UserProfileDetails? = null
/**
* The identifier of the Amazon DataZone domain in which a user profile is updated.
*/
public var domainId: kotlin.String? = null
/**
* The identifier of the user profile.
*/
public var id: kotlin.String? = null
/**
* The status of the user profile.
*/
public var status: aws.sdk.kotlin.services.datazone.model.UserProfileStatus? = null
/**
* The type of the user profile.
*/
public var type: aws.sdk.kotlin.services.datazone.model.UserProfileType? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.datazone.model.UpdateUserProfileResponse) : this() {
this.details = x.details
this.domainId = x.domainId
this.id = x.id
this.status = x.status
this.type = x.type
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.datazone.model.UpdateUserProfileResponse = UpdateUserProfileResponse(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy