
commonMain.aws.sdk.kotlin.services.quicksight.model.QueueInfo.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.quicksight.model
/**
* Information about a queued dataset SPICE ingestion.
*/
class QueueInfo private constructor(builder: Builder) {
/**
* The ID of the ongoing ingestion. The queued ingestion is waiting for the ongoing ingestion to complete.
*/
val queuedIngestion: kotlin.String? = builder.queuedIngestion
/**
* The ID of the queued ingestion.
*/
val waitingOnIngestion: kotlin.String? = builder.waitingOnIngestion
companion object {
operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.quicksight.model.QueueInfo = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("QueueInfo(")
append("queuedIngestion=$queuedIngestion,")
append("waitingOnIngestion=$waitingOnIngestion)")
}
override fun hashCode(): kotlin.Int {
var result = queuedIngestion?.hashCode() ?: 0
result = 31 * result + (waitingOnIngestion?.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 QueueInfo
if (queuedIngestion != other.queuedIngestion) return false
if (waitingOnIngestion != other.waitingOnIngestion) return false
return true
}
inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.quicksight.model.QueueInfo = Builder(this).apply(block).build()
class Builder {
/**
* The ID of the ongoing ingestion. The queued ingestion is waiting for the ongoing ingestion to complete.
*/
var queuedIngestion: kotlin.String? = null
/**
* The ID of the queued ingestion.
*/
var waitingOnIngestion: kotlin.String? = null
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.quicksight.model.QueueInfo) : this() {
this.queuedIngestion = x.queuedIngestion
this.waitingOnIngestion = x.waitingOnIngestion
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.quicksight.model.QueueInfo = QueueInfo(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy