
commonMain.aws.sdk.kotlin.services.quicksight.model.JoinKeyProperties.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.quicksight.model
/**
* Properties associated with the columns participating in a join.
*/
class JoinKeyProperties private constructor(builder: Builder) {
/**
* A value that indicates that a row in a table is uniquely identified by the columns in a join key. This is used by Amazon QuickSight to optimize query performance.
*/
val uniqueKey: kotlin.Boolean = builder.uniqueKey
companion object {
operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.quicksight.model.JoinKeyProperties = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("JoinKeyProperties(")
append("uniqueKey=$uniqueKey)")
}
override fun hashCode(): kotlin.Int {
var result = uniqueKey.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 JoinKeyProperties
if (uniqueKey != other.uniqueKey) return false
return true
}
inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.quicksight.model.JoinKeyProperties = Builder(this).apply(block).build()
class Builder {
/**
* A value that indicates that a row in a table is uniquely identified by the columns in a join key. This is used by Amazon QuickSight to optimize query performance.
*/
var uniqueKey: kotlin.Boolean = false
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.quicksight.model.JoinKeyProperties) : this() {
this.uniqueKey = x.uniqueKey
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.quicksight.model.JoinKeyProperties = JoinKeyProperties(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy