
commonMain.aws.sdk.kotlin.services.quicksight.model.UpdateAccountSettingsRequest.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.quicksight.model
class UpdateAccountSettingsRequest private constructor(builder: Builder) {
/**
* The ID for the Amazon Web Services account that contains the Amazon QuickSight settings that you want to list.
*/
val awsAccountId: kotlin.String? = builder.awsAccountId
/**
* The default namespace for this Amazon Web Services account. Currently, the default is `default`. Identity and Access Management (IAM) users that register for the first time with Amazon QuickSight provide an email that becomes associated with the default namespace.
*/
val defaultNamespace: kotlin.String? = builder.defaultNamespace
/**
* The email address that you want Amazon QuickSight to send notifications to regarding your Amazon Web Services account or Amazon QuickSight subscription.
*/
val notificationEmail: kotlin.String? = builder.notificationEmail
companion object {
operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.quicksight.model.UpdateAccountSettingsRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("UpdateAccountSettingsRequest(")
append("awsAccountId=$awsAccountId,")
append("defaultNamespace=$defaultNamespace,")
append("notificationEmail=$notificationEmail)")
}
override fun hashCode(): kotlin.Int {
var result = awsAccountId?.hashCode() ?: 0
result = 31 * result + (defaultNamespace?.hashCode() ?: 0)
result = 31 * result + (notificationEmail?.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 UpdateAccountSettingsRequest
if (awsAccountId != other.awsAccountId) return false
if (defaultNamespace != other.defaultNamespace) return false
if (notificationEmail != other.notificationEmail) return false
return true
}
inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.quicksight.model.UpdateAccountSettingsRequest = Builder(this).apply(block).build()
class Builder {
/**
* The ID for the Amazon Web Services account that contains the Amazon QuickSight settings that you want to list.
*/
var awsAccountId: kotlin.String? = null
/**
* The default namespace for this Amazon Web Services account. Currently, the default is `default`. Identity and Access Management (IAM) users that register for the first time with Amazon QuickSight provide an email that becomes associated with the default namespace.
*/
var defaultNamespace: kotlin.String? = null
/**
* The email address that you want Amazon QuickSight to send notifications to regarding your Amazon Web Services account or Amazon QuickSight subscription.
*/
var notificationEmail: kotlin.String? = null
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.quicksight.model.UpdateAccountSettingsRequest) : this() {
this.awsAccountId = x.awsAccountId
this.defaultNamespace = x.defaultNamespace
this.notificationEmail = x.notificationEmail
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.quicksight.model.UpdateAccountSettingsRequest = UpdateAccountSettingsRequest(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy