
commonMain.aws.sdk.kotlin.services.customerprofiles.model.GetIdentityResolutionJobRequest.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.customerprofiles.model
public class GetIdentityResolutionJobRequest private constructor(builder: Builder) {
/**
* The unique name of the domain.
*/
public val domainName: kotlin.String? = requireNotNull(builder.domainName) { "A non-null value must be provided for domainName" }
/**
* The unique identifier of the Identity Resolution Job.
*/
public val jobId: kotlin.String? = requireNotNull(builder.jobId) { "A non-null value must be provided for jobId" }
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.customerprofiles.model.GetIdentityResolutionJobRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("GetIdentityResolutionJobRequest(")
append("domainName=$domainName,")
append("jobId=$jobId")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = domainName?.hashCode() ?: 0
result = 31 * result + (jobId?.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 GetIdentityResolutionJobRequest
if (domainName != other.domainName) return false
if (jobId != other.jobId) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.customerprofiles.model.GetIdentityResolutionJobRequest = Builder(this).apply(block).build()
public class Builder {
/**
* The unique name of the domain.
*/
public var domainName: kotlin.String? = null
/**
* The unique identifier of the Identity Resolution Job.
*/
public var jobId: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.customerprofiles.model.GetIdentityResolutionJobRequest) : this() {
this.domainName = x.domainName
this.jobId = x.jobId
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.customerprofiles.model.GetIdentityResolutionJobRequest = GetIdentityResolutionJobRequest(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy