
commonMain.aws.sdk.kotlin.services.quicksight.model.ColumnGroupSchema.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.quicksight.model
/**
* The column group schema.
*/
class ColumnGroupSchema private constructor(builder: Builder) {
/**
* A structure containing the list of schemas for column group columns.
*/
val columnGroupColumnSchemaList: List? = builder.columnGroupColumnSchemaList
/**
* The name of the column group schema.
*/
val name: kotlin.String? = builder.name
companion object {
operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.quicksight.model.ColumnGroupSchema = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("ColumnGroupSchema(")
append("columnGroupColumnSchemaList=$columnGroupColumnSchemaList,")
append("name=$name)")
}
override fun hashCode(): kotlin.Int {
var result = columnGroupColumnSchemaList?.hashCode() ?: 0
result = 31 * result + (name?.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 ColumnGroupSchema
if (columnGroupColumnSchemaList != other.columnGroupColumnSchemaList) return false
if (name != other.name) return false
return true
}
inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.quicksight.model.ColumnGroupSchema = Builder(this).apply(block).build()
class Builder {
/**
* A structure containing the list of schemas for column group columns.
*/
var columnGroupColumnSchemaList: List? = null
/**
* The name of the column group schema.
*/
var name: kotlin.String? = null
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.quicksight.model.ColumnGroupSchema) : this() {
this.columnGroupColumnSchemaList = x.columnGroupColumnSchemaList
this.name = x.name
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.quicksight.model.ColumnGroupSchema = ColumnGroupSchema(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy