commonMain.aws.sdk.kotlin.services.cleanrooms.model.GetIdMappingTableRequest.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cleanrooms-jvm Show documentation
Show all versions of cleanrooms-jvm Show documentation
The AWS SDK for Kotlin client for CleanRooms
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.cleanrooms.model
import aws.smithy.kotlin.runtime.SdkDsl
public class GetIdMappingTableRequest private constructor(builder: Builder) {
/**
* The unique identifier of the ID mapping table identifier that you want to retrieve.
*/
public val idMappingTableIdentifier: kotlin.String? = builder.idMappingTableIdentifier
/**
* The unique identifier of the membership that contains the ID mapping table that you want to retrieve.
*/
public val membershipIdentifier: kotlin.String? = builder.membershipIdentifier
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.cleanrooms.model.GetIdMappingTableRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("GetIdMappingTableRequest(")
append("idMappingTableIdentifier=$idMappingTableIdentifier,")
append("membershipIdentifier=$membershipIdentifier")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = idMappingTableIdentifier?.hashCode() ?: 0
result = 31 * result + (membershipIdentifier?.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 GetIdMappingTableRequest
if (idMappingTableIdentifier != other.idMappingTableIdentifier) return false
if (membershipIdentifier != other.membershipIdentifier) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.cleanrooms.model.GetIdMappingTableRequest = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The unique identifier of the ID mapping table identifier that you want to retrieve.
*/
public var idMappingTableIdentifier: kotlin.String? = null
/**
* The unique identifier of the membership that contains the ID mapping table that you want to retrieve.
*/
public var membershipIdentifier: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.cleanrooms.model.GetIdMappingTableRequest) : this() {
this.idMappingTableIdentifier = x.idMappingTableIdentifier
this.membershipIdentifier = x.membershipIdentifier
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.cleanrooms.model.GetIdMappingTableRequest = GetIdMappingTableRequest(this)
internal fun correctErrors(): Builder {
return this
}
}
}