commonMain.aws.sdk.kotlin.services.entityresolution.model.IdMappingJobMetrics.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of entityresolution-jvm Show documentation
Show all versions of entityresolution-jvm Show documentation
The AWS SDK for Kotlin client for EntityResolution
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.entityresolution.model
import aws.smithy.kotlin.runtime.SdkDsl
/**
* An object containing `InputRecords`, `TotalRecordsProcessed`, `MatchIDs`, and `RecordsNotProcessed`.
*/
public class IdMappingJobMetrics private constructor(builder: Builder) {
/**
* The total number of input records.
*/
public val inputRecords: kotlin.Int? = builder.inputRecords
/**
* The total number of records that did not get processed.
*/
public val recordsNotProcessed: kotlin.Int? = builder.recordsNotProcessed
/**
* The total number of records processed.
*/
public val totalRecordsProcessed: kotlin.Int? = builder.totalRecordsProcessed
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.entityresolution.model.IdMappingJobMetrics = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("IdMappingJobMetrics(")
append("inputRecords=$inputRecords,")
append("recordsNotProcessed=$recordsNotProcessed,")
append("totalRecordsProcessed=$totalRecordsProcessed")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = inputRecords ?: 0
result = 31 * result + (recordsNotProcessed ?: 0)
result = 31 * result + (totalRecordsProcessed ?: 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 IdMappingJobMetrics
if (inputRecords != other.inputRecords) return false
if (recordsNotProcessed != other.recordsNotProcessed) return false
if (totalRecordsProcessed != other.totalRecordsProcessed) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.entityresolution.model.IdMappingJobMetrics = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The total number of input records.
*/
public var inputRecords: kotlin.Int? = null
/**
* The total number of records that did not get processed.
*/
public var recordsNotProcessed: kotlin.Int? = null
/**
* The total number of records processed.
*/
public var totalRecordsProcessed: kotlin.Int? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.entityresolution.model.IdMappingJobMetrics) : this() {
this.inputRecords = x.inputRecords
this.recordsNotProcessed = x.recordsNotProcessed
this.totalRecordsProcessed = x.totalRecordsProcessed
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.entityresolution.model.IdMappingJobMetrics = IdMappingJobMetrics(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy