
commonMain.aws.sdk.kotlin.services.quicksight.model.BorderStyle.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.quicksight.model
/**
* The display options for tile borders for visuals.
*/
class BorderStyle private constructor(builder: Builder) {
/**
* The option to enable display of borders for visuals.
*/
val show: kotlin.Boolean = builder.show
companion object {
operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.quicksight.model.BorderStyle = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("BorderStyle(")
append("show=$show)")
}
override fun hashCode(): kotlin.Int {
var result = show.hashCode()
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 BorderStyle
if (show != other.show) return false
return true
}
inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.quicksight.model.BorderStyle = Builder(this).apply(block).build()
class Builder {
/**
* The option to enable display of borders for visuals.
*/
var show: kotlin.Boolean = false
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.quicksight.model.BorderStyle) : this() {
this.show = x.show
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.quicksight.model.BorderStyle = BorderStyle(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy