commonMain.aws.sdk.kotlin.services.entityresolution.model.UpdateIdNamespaceRequest.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
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.entityresolution.model
import aws.smithy.kotlin.runtime.SdkDsl
public class UpdateIdNamespaceRequest private constructor(builder: Builder) {
/**
* The description of the ID namespace.
*/
public val description: kotlin.String? = builder.description
/**
* Determines the properties of `IdMappingWorkflow` where this `IdNamespace` can be used as a `Source` or a `Target`.
*/
public val idMappingWorkflowProperties: List? = builder.idMappingWorkflowProperties
/**
* The name of the ID namespace.
*/
public val idNamespaceName: kotlin.String? = builder.idNamespaceName
/**
* A list of `InputSource` objects, which have the fields `InputSourceARN` and `SchemaName`.
*/
public val inputSourceConfig: List? = builder.inputSourceConfig
/**
* The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to access the resources defined in this `IdNamespace` on your behalf as part of a workflow run.
*/
public val roleArn: kotlin.String? = builder.roleArn
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.entityresolution.model.UpdateIdNamespaceRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("UpdateIdNamespaceRequest(")
append("description=$description,")
append("idMappingWorkflowProperties=$idMappingWorkflowProperties,")
append("idNamespaceName=$idNamespaceName,")
append("inputSourceConfig=$inputSourceConfig,")
append("roleArn=$roleArn")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = description?.hashCode() ?: 0
result = 31 * result + (idMappingWorkflowProperties?.hashCode() ?: 0)
result = 31 * result + (idNamespaceName?.hashCode() ?: 0)
result = 31 * result + (inputSourceConfig?.hashCode() ?: 0)
result = 31 * result + (roleArn?.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 UpdateIdNamespaceRequest
if (description != other.description) return false
if (idMappingWorkflowProperties != other.idMappingWorkflowProperties) return false
if (idNamespaceName != other.idNamespaceName) return false
if (inputSourceConfig != other.inputSourceConfig) return false
if (roleArn != other.roleArn) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.entityresolution.model.UpdateIdNamespaceRequest = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The description of the ID namespace.
*/
public var description: kotlin.String? = null
/**
* Determines the properties of `IdMappingWorkflow` where this `IdNamespace` can be used as a `Source` or a `Target`.
*/
public var idMappingWorkflowProperties: List? = null
/**
* The name of the ID namespace.
*/
public var idNamespaceName: kotlin.String? = null
/**
* A list of `InputSource` objects, which have the fields `InputSourceARN` and `SchemaName`.
*/
public var inputSourceConfig: List? = null
/**
* The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to access the resources defined in this `IdNamespace` on your behalf as part of a workflow run.
*/
public var roleArn: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.entityresolution.model.UpdateIdNamespaceRequest) : this() {
this.description = x.description
this.idMappingWorkflowProperties = x.idMappingWorkflowProperties
this.idNamespaceName = x.idNamespaceName
this.inputSourceConfig = x.inputSourceConfig
this.roleArn = x.roleArn
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.entityresolution.model.UpdateIdNamespaceRequest = UpdateIdNamespaceRequest(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy