commonMain.aws.sdk.kotlin.services.glue.model.GetDataQualityModelResultResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of glue-jvm Show documentation
Show all versions of glue-jvm Show documentation
The AWS SDK for Kotlin client for Glue
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.glue.model
import aws.smithy.kotlin.runtime.SdkDsl
import aws.smithy.kotlin.runtime.time.Instant
public class GetDataQualityModelResultResponse private constructor(builder: Builder) {
/**
* The timestamp when the data quality model training completed.
*/
public val completedOn: aws.smithy.kotlin.runtime.time.Instant? = builder.completedOn
/**
* A list of `StatisticModelResult`
*/
public val model: List? = builder.model
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.glue.model.GetDataQualityModelResultResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("GetDataQualityModelResultResponse(")
append("completedOn=$completedOn,")
append("model=$model")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = completedOn?.hashCode() ?: 0
result = 31 * result + (model?.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 GetDataQualityModelResultResponse
if (completedOn != other.completedOn) return false
if (model != other.model) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.glue.model.GetDataQualityModelResultResponse = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The timestamp when the data quality model training completed.
*/
public var completedOn: aws.smithy.kotlin.runtime.time.Instant? = null
/**
* A list of `StatisticModelResult`
*/
public var model: List? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.glue.model.GetDataQualityModelResultResponse) : this() {
this.completedOn = x.completedOn
this.model = x.model
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.glue.model.GetDataQualityModelResultResponse = GetDataQualityModelResultResponse(this)
internal fun correctErrors(): Builder {
return this
}
}
}