
commonMain.aws.sdk.kotlin.services.customerprofiles.model.GetAutoMergingPreviewResponse.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.customerprofiles.model
public class GetAutoMergingPreviewResponse private constructor(builder: Builder) {
/**
* The unique name of the domain.
*/
public val domainName: kotlin.String? = builder.domainName
/**
* The number of match groups in the domain that have been reviewed in this preview dry run.
*/
public val numberOfMatchesInSample: kotlin.Long = builder.numberOfMatchesInSample
/**
* The number of profiles found in this preview dry run.
*/
public val numberOfProfilesInSample: kotlin.Long = builder.numberOfProfilesInSample
/**
* The number of profiles that would be merged if this wasn't a preview dry run.
*/
public val numberOfProfilesWillBeMerged: kotlin.Long = builder.numberOfProfilesWillBeMerged
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.customerprofiles.model.GetAutoMergingPreviewResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("GetAutoMergingPreviewResponse(")
append("domainName=$domainName,")
append("numberOfMatchesInSample=$numberOfMatchesInSample,")
append("numberOfProfilesInSample=$numberOfProfilesInSample,")
append("numberOfProfilesWillBeMerged=$numberOfProfilesWillBeMerged")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = domainName?.hashCode() ?: 0
result = 31 * result + (numberOfMatchesInSample.hashCode())
result = 31 * result + (numberOfProfilesInSample.hashCode())
result = 31 * result + (numberOfProfilesWillBeMerged.hashCode())
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 GetAutoMergingPreviewResponse
if (domainName != other.domainName) return false
if (numberOfMatchesInSample != other.numberOfMatchesInSample) return false
if (numberOfProfilesInSample != other.numberOfProfilesInSample) return false
if (numberOfProfilesWillBeMerged != other.numberOfProfilesWillBeMerged) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.customerprofiles.model.GetAutoMergingPreviewResponse = Builder(this).apply(block).build()
public class Builder {
/**
* The unique name of the domain.
*/
public var domainName: kotlin.String? = null
/**
* The number of match groups in the domain that have been reviewed in this preview dry run.
*/
public var numberOfMatchesInSample: kotlin.Long = 0L
/**
* The number of profiles found in this preview dry run.
*/
public var numberOfProfilesInSample: kotlin.Long = 0L
/**
* The number of profiles that would be merged if this wasn't a preview dry run.
*/
public var numberOfProfilesWillBeMerged: kotlin.Long = 0L
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.customerprofiles.model.GetAutoMergingPreviewResponse) : this() {
this.domainName = x.domainName
this.numberOfMatchesInSample = x.numberOfMatchesInSample
this.numberOfProfilesInSample = x.numberOfProfilesInSample
this.numberOfProfilesWillBeMerged = x.numberOfProfilesWillBeMerged
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.customerprofiles.model.GetAutoMergingPreviewResponse = GetAutoMergingPreviewResponse(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy