commonMain.aws.sdk.kotlin.services.entityresolution.model.ProviderIdNameSpaceConfiguration.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
import aws.smithy.kotlin.runtime.content.Document
/**
* The provider configuration required for different ID namespace types.
*/
public class ProviderIdNameSpaceConfiguration private constructor(builder: Builder) {
/**
* The description of the ID namespace.
*/
public val description: kotlin.String? = builder.description
/**
* Configurations required for the source ID namespace.
*/
public val providerSourceConfigurationDefinition: aws.smithy.kotlin.runtime.content.Document? = builder.providerSourceConfigurationDefinition
/**
* Configurations required for the target ID namespace.
*/
public val providerTargetConfigurationDefinition: aws.smithy.kotlin.runtime.content.Document? = builder.providerTargetConfigurationDefinition
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.entityresolution.model.ProviderIdNameSpaceConfiguration = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("ProviderIdNameSpaceConfiguration(")
append("description=$description,")
append("providerSourceConfigurationDefinition=$providerSourceConfigurationDefinition,")
append("providerTargetConfigurationDefinition=$providerTargetConfigurationDefinition")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = description?.hashCode() ?: 0
result = 31 * result + (providerSourceConfigurationDefinition?.hashCode() ?: 0)
result = 31 * result + (providerTargetConfigurationDefinition?.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 ProviderIdNameSpaceConfiguration
if (description != other.description) return false
if (providerSourceConfigurationDefinition != other.providerSourceConfigurationDefinition) return false
if (providerTargetConfigurationDefinition != other.providerTargetConfigurationDefinition) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.entityresolution.model.ProviderIdNameSpaceConfiguration = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The description of the ID namespace.
*/
public var description: kotlin.String? = null
/**
* Configurations required for the source ID namespace.
*/
public var providerSourceConfigurationDefinition: aws.smithy.kotlin.runtime.content.Document? = null
/**
* Configurations required for the target ID namespace.
*/
public var providerTargetConfigurationDefinition: aws.smithy.kotlin.runtime.content.Document? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.entityresolution.model.ProviderIdNameSpaceConfiguration) : this() {
this.description = x.description
this.providerSourceConfigurationDefinition = x.providerSourceConfigurationDefinition
this.providerTargetConfigurationDefinition = x.providerTargetConfigurationDefinition
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.entityresolution.model.ProviderIdNameSpaceConfiguration = ProviderIdNameSpaceConfiguration(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy