
commonMain.aws.sdk.kotlin.services.customerprofiles.model.IdentityResolutionJob.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.customerprofiles.model
import aws.smithy.kotlin.runtime.time.Instant
/**
* Information about the Identity Resolution Job.
*/
public class IdentityResolutionJob private constructor(builder: Builder) {
/**
* The unique name of the domain.
*/
public val domainName: kotlin.String? = builder.domainName
/**
* The S3 location where the Identity Resolution Job writes result files.
*/
public val exportingLocation: aws.sdk.kotlin.services.customerprofiles.model.ExportingLocation? = builder.exportingLocation
/**
* The timestamp of when the job was completed.
*/
public val jobEndTime: aws.smithy.kotlin.runtime.time.Instant? = builder.jobEndTime
/**
* The unique identifier of the Identity Resolution Job.
*/
public val jobId: kotlin.String? = builder.jobId
/**
* The timestamp of when the job was started or will be started.
*/
public val jobStartTime: aws.smithy.kotlin.runtime.time.Instant? = builder.jobStartTime
/**
* Statistics about an Identity Resolution Job.
*/
public val jobStats: aws.sdk.kotlin.services.customerprofiles.model.JobStats? = builder.jobStats
/**
* The error messages that are generated when the Identity Resolution Job runs.
*/
public val message: kotlin.String? = builder.message
/**
* The status of the Identity Resolution Job.
* + `PENDING`: The Identity Resolution Job is scheduled but has not started yet. If you turn off the Identity Resolution feature in your domain, jobs in the `PENDING` state are deleted.
* + `PREPROCESSING`: The Identity Resolution Job is loading your data.
* + `FIND_MATCHING`: The Identity Resolution Job is using the machine learning model to identify profiles that belong to the same matching group.
* + `MERGING`: The Identity Resolution Job is merging duplicate profiles.
* + `COMPLETED`: The Identity Resolution Job completed successfully.
* + `PARTIAL_SUCCESS`: There's a system error and not all of the data is merged. The Identity Resolution Job writes a message indicating the source of the problem.
* + `FAILED`: The Identity Resolution Job did not merge any data. It writes a message indicating the source of the problem.
*/
public val status: aws.sdk.kotlin.services.customerprofiles.model.IdentityResolutionJobStatus? = builder.status
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.customerprofiles.model.IdentityResolutionJob = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("IdentityResolutionJob(")
append("domainName=$domainName,")
append("exportingLocation=$exportingLocation,")
append("jobEndTime=$jobEndTime,")
append("jobId=$jobId,")
append("jobStartTime=$jobStartTime,")
append("jobStats=$jobStats,")
append("message=$message,")
append("status=$status")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = domainName?.hashCode() ?: 0
result = 31 * result + (exportingLocation?.hashCode() ?: 0)
result = 31 * result + (jobEndTime?.hashCode() ?: 0)
result = 31 * result + (jobId?.hashCode() ?: 0)
result = 31 * result + (jobStartTime?.hashCode() ?: 0)
result = 31 * result + (jobStats?.hashCode() ?: 0)
result = 31 * result + (message?.hashCode() ?: 0)
result = 31 * result + (status?.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 IdentityResolutionJob
if (domainName != other.domainName) return false
if (exportingLocation != other.exportingLocation) return false
if (jobEndTime != other.jobEndTime) return false
if (jobId != other.jobId) return false
if (jobStartTime != other.jobStartTime) return false
if (jobStats != other.jobStats) return false
if (message != other.message) return false
if (status != other.status) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.customerprofiles.model.IdentityResolutionJob = Builder(this).apply(block).build()
public class Builder {
/**
* The unique name of the domain.
*/
public var domainName: kotlin.String? = null
/**
* The S3 location where the Identity Resolution Job writes result files.
*/
public var exportingLocation: aws.sdk.kotlin.services.customerprofiles.model.ExportingLocation? = null
/**
* The timestamp of when the job was completed.
*/
public var jobEndTime: aws.smithy.kotlin.runtime.time.Instant? = null
/**
* The unique identifier of the Identity Resolution Job.
*/
public var jobId: kotlin.String? = null
/**
* The timestamp of when the job was started or will be started.
*/
public var jobStartTime: aws.smithy.kotlin.runtime.time.Instant? = null
/**
* Statistics about an Identity Resolution Job.
*/
public var jobStats: aws.sdk.kotlin.services.customerprofiles.model.JobStats? = null
/**
* The error messages that are generated when the Identity Resolution Job runs.
*/
public var message: kotlin.String? = null
/**
* The status of the Identity Resolution Job.
* + `PENDING`: The Identity Resolution Job is scheduled but has not started yet. If you turn off the Identity Resolution feature in your domain, jobs in the `PENDING` state are deleted.
* + `PREPROCESSING`: The Identity Resolution Job is loading your data.
* + `FIND_MATCHING`: The Identity Resolution Job is using the machine learning model to identify profiles that belong to the same matching group.
* + `MERGING`: The Identity Resolution Job is merging duplicate profiles.
* + `COMPLETED`: The Identity Resolution Job completed successfully.
* + `PARTIAL_SUCCESS`: There's a system error and not all of the data is merged. The Identity Resolution Job writes a message indicating the source of the problem.
* + `FAILED`: The Identity Resolution Job did not merge any data. It writes a message indicating the source of the problem.
*/
public var status: aws.sdk.kotlin.services.customerprofiles.model.IdentityResolutionJobStatus? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.customerprofiles.model.IdentityResolutionJob) : this() {
this.domainName = x.domainName
this.exportingLocation = x.exportingLocation
this.jobEndTime = x.jobEndTime
this.jobId = x.jobId
this.jobStartTime = x.jobStartTime
this.jobStats = x.jobStats
this.message = x.message
this.status = x.status
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.customerprofiles.model.IdentityResolutionJob = IdentityResolutionJob(this)
/**
* construct an [aws.sdk.kotlin.services.customerprofiles.model.ExportingLocation] inside the given [block]
*/
public fun exportingLocation(block: aws.sdk.kotlin.services.customerprofiles.model.ExportingLocation.Builder.() -> kotlin.Unit) {
this.exportingLocation = aws.sdk.kotlin.services.customerprofiles.model.ExportingLocation.invoke(block)
}
/**
* construct an [aws.sdk.kotlin.services.customerprofiles.model.JobStats] inside the given [block]
*/
public fun jobStats(block: aws.sdk.kotlin.services.customerprofiles.model.JobStats.Builder.() -> kotlin.Unit) {
this.jobStats = aws.sdk.kotlin.services.customerprofiles.model.JobStats.invoke(block)
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy