
commonMain.aws.sdk.kotlin.services.quicksight.model.RowInfo.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.quicksight.model
/**
* Information about rows for a data set SPICE ingestion.
*/
class RowInfo private constructor(builder: Builder) {
/**
* The number of rows that were not ingested.
*/
val rowsDropped: kotlin.Long = builder.rowsDropped
/**
* The number of rows that were ingested.
*/
val rowsIngested: kotlin.Long = builder.rowsIngested
/**
* The total number of rows in the dataset.
*/
val totalRowsInDataset: kotlin.Long = builder.totalRowsInDataset
companion object {
operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.quicksight.model.RowInfo = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("RowInfo(")
append("rowsDropped=$rowsDropped,")
append("rowsIngested=$rowsIngested,")
append("totalRowsInDataset=$totalRowsInDataset)")
}
override fun hashCode(): kotlin.Int {
var result = rowsDropped.hashCode()
result = 31 * result + (rowsIngested.hashCode())
result = 31 * result + (totalRowsInDataset.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 RowInfo
if (rowsDropped != other.rowsDropped) return false
if (rowsIngested != other.rowsIngested) return false
if (totalRowsInDataset != other.totalRowsInDataset) return false
return true
}
inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.quicksight.model.RowInfo = Builder(this).apply(block).build()
class Builder {
/**
* The number of rows that were not ingested.
*/
var rowsDropped: kotlin.Long = 0L
/**
* The number of rows that were ingested.
*/
var rowsIngested: kotlin.Long = 0L
/**
* The total number of rows in the dataset.
*/
var totalRowsInDataset: kotlin.Long = 0L
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.quicksight.model.RowInfo) : this() {
this.rowsDropped = x.rowsDropped
this.rowsIngested = x.rowsIngested
this.totalRowsInDataset = x.totalRowsInDataset
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.quicksight.model.RowInfo = RowInfo(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy