commonMain.aws.sdk.kotlin.services.entityresolution.model.GetMatchIdResponse.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
The newest version!
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.entityresolution.model
import aws.smithy.kotlin.runtime.SdkDsl
public class GetMatchIdResponse private constructor(builder: Builder) {
/**
* The unique identifiers for this group of match records.
*/
public val matchId: kotlin.String? = builder.matchId
/**
* The rule the record matched on.
*/
public val matchRule: kotlin.String? = builder.matchRule
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.entityresolution.model.GetMatchIdResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("GetMatchIdResponse(")
append("matchId=$matchId,")
append("matchRule=$matchRule")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = matchId?.hashCode() ?: 0
result = 31 * result + (matchRule?.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 GetMatchIdResponse
if (matchId != other.matchId) return false
if (matchRule != other.matchRule) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.entityresolution.model.GetMatchIdResponse = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The unique identifiers for this group of match records.
*/
public var matchId: kotlin.String? = null
/**
* The rule the record matched on.
*/
public var matchRule: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.entityresolution.model.GetMatchIdResponse) : this() {
this.matchId = x.matchId
this.matchRule = x.matchRule
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.entityresolution.model.GetMatchIdResponse = GetMatchIdResponse(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy