
commonMain.aws.sdk.kotlin.services.quicksight.model.DeleteThemeAliasRequest.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.quicksight.model
class DeleteThemeAliasRequest private constructor(builder: Builder) {
/**
* The unique name for the theme alias to delete.
*/
val aliasName: kotlin.String? = builder.aliasName
/**
* The ID of the Amazon Web Services account that contains the theme alias to delete.
*/
val awsAccountId: kotlin.String? = builder.awsAccountId
/**
* The ID for the theme that the specified alias is for.
*/
val themeId: kotlin.String? = builder.themeId
companion object {
operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.quicksight.model.DeleteThemeAliasRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DeleteThemeAliasRequest(")
append("aliasName=$aliasName,")
append("awsAccountId=$awsAccountId,")
append("themeId=$themeId)")
}
override fun hashCode(): kotlin.Int {
var result = aliasName?.hashCode() ?: 0
result = 31 * result + (awsAccountId?.hashCode() ?: 0)
result = 31 * result + (themeId?.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 DeleteThemeAliasRequest
if (aliasName != other.aliasName) return false
if (awsAccountId != other.awsAccountId) return false
if (themeId != other.themeId) return false
return true
}
inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.quicksight.model.DeleteThemeAliasRequest = Builder(this).apply(block).build()
class Builder {
/**
* The unique name for the theme alias to delete.
*/
var aliasName: kotlin.String? = null
/**
* The ID of the Amazon Web Services account that contains the theme alias to delete.
*/
var awsAccountId: kotlin.String? = null
/**
* The ID for the theme that the specified alias is for.
*/
var themeId: kotlin.String? = null
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.quicksight.model.DeleteThemeAliasRequest) : this() {
this.aliasName = x.aliasName
this.awsAccountId = x.awsAccountId
this.themeId = x.themeId
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.quicksight.model.DeleteThemeAliasRequest = DeleteThemeAliasRequest(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy