
commonMain.aws.sdk.kotlin.services.quicksight.model.UpdateAccountCustomizationResponse.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.quicksight.model
class UpdateAccountCustomizationResponse private constructor(builder: Builder) {
/**
* The Amazon QuickSight customizations you're updating in the current Amazon Web Services Region.
*/
val accountCustomization: aws.sdk.kotlin.services.quicksight.model.AccountCustomization? = builder.accountCustomization
/**
* The Amazon Resource Name (ARN) for the updated customization for this Amazon Web Services account.
*/
val arn: kotlin.String? = builder.arn
/**
* The ID for the Amazon Web Services account that you want to update Amazon QuickSight customizations for.
*/
val awsAccountId: kotlin.String? = builder.awsAccountId
/**
* The namespace associated with the customization that you're updating.
*/
val namespace: kotlin.String? = builder.namespace
/**
* The Amazon Web Services request ID for this operation.
*/
val requestId: kotlin.String? = builder.requestId
/**
* The HTTP status of the request.
*/
val status: kotlin.Int = builder.status
companion object {
operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.quicksight.model.UpdateAccountCustomizationResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("UpdateAccountCustomizationResponse(")
append("accountCustomization=$accountCustomization,")
append("arn=$arn,")
append("awsAccountId=$awsAccountId,")
append("namespace=$namespace,")
append("requestId=$requestId,")
append("status=$status)")
}
override fun hashCode(): kotlin.Int {
var result = accountCustomization?.hashCode() ?: 0
result = 31 * result + (arn?.hashCode() ?: 0)
result = 31 * result + (awsAccountId?.hashCode() ?: 0)
result = 31 * result + (namespace?.hashCode() ?: 0)
result = 31 * result + (requestId?.hashCode() ?: 0)
result = 31 * result + (status)
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 UpdateAccountCustomizationResponse
if (accountCustomization != other.accountCustomization) return false
if (arn != other.arn) return false
if (awsAccountId != other.awsAccountId) return false
if (namespace != other.namespace) return false
if (requestId != other.requestId) return false
if (status != other.status) return false
return true
}
inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.quicksight.model.UpdateAccountCustomizationResponse = Builder(this).apply(block).build()
class Builder {
/**
* The Amazon QuickSight customizations you're updating in the current Amazon Web Services Region.
*/
var accountCustomization: aws.sdk.kotlin.services.quicksight.model.AccountCustomization? = null
/**
* The Amazon Resource Name (ARN) for the updated customization for this Amazon Web Services account.
*/
var arn: kotlin.String? = null
/**
* The ID for the Amazon Web Services account that you want to update Amazon QuickSight customizations for.
*/
var awsAccountId: kotlin.String? = null
/**
* The namespace associated with the customization that you're updating.
*/
var namespace: kotlin.String? = null
/**
* The Amazon Web Services request ID for this operation.
*/
var requestId: kotlin.String? = null
/**
* The HTTP status of the request.
*/
var status: kotlin.Int = 0
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.quicksight.model.UpdateAccountCustomizationResponse) : this() {
this.accountCustomization = x.accountCustomization
this.arn = x.arn
this.awsAccountId = x.awsAccountId
this.namespace = x.namespace
this.requestId = x.requestId
this.status = x.status
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.quicksight.model.UpdateAccountCustomizationResponse = UpdateAccountCustomizationResponse(this)
/**
* construct an [aws.sdk.kotlin.services.quicksight.model.AccountCustomization] inside the given [block]
*/
fun accountCustomization(block: aws.sdk.kotlin.services.quicksight.model.AccountCustomization.Builder.() -> kotlin.Unit) {
this.accountCustomization = aws.sdk.kotlin.services.quicksight.model.AccountCustomization.invoke(block)
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy