commonMain.aws.sdk.kotlin.services.finspace.model.SuperuserParameters.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of finspace-jvm Show documentation
Show all versions of finspace-jvm Show documentation
The AWS SDK for Kotlin client for finspace
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.finspace.model
/**
* Configuration information for the superuser.
*/
public class SuperuserParameters private constructor(builder: Builder) {
/**
* The email address of the superuser.
*/
public val emailAddress: kotlin.String? = builder.emailAddress
/**
* The first name of the superuser.
*/
public val firstName: kotlin.String? = builder.firstName
/**
* The last name of the superuser.
*/
public val lastName: kotlin.String? = builder.lastName
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.finspace.model.SuperuserParameters = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("SuperuserParameters(")
append("emailAddress=*** Sensitive Data Redacted ***,")
append("firstName=$firstName,")
append("lastName=$lastName")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = emailAddress?.hashCode() ?: 0
result = 31 * result + (firstName?.hashCode() ?: 0)
result = 31 * result + (lastName?.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 SuperuserParameters
if (emailAddress != other.emailAddress) return false
if (firstName != other.firstName) return false
if (lastName != other.lastName) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.finspace.model.SuperuserParameters = Builder(this).apply(block).build()
public class Builder {
/**
* The email address of the superuser.
*/
public var emailAddress: kotlin.String? = null
/**
* The first name of the superuser.
*/
public var firstName: kotlin.String? = null
/**
* The last name of the superuser.
*/
public var lastName: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.finspace.model.SuperuserParameters) : this() {
this.emailAddress = x.emailAddress
this.firstName = x.firstName
this.lastName = x.lastName
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.finspace.model.SuperuserParameters = SuperuserParameters(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy