commonMain.aws.sdk.kotlin.services.entityresolution.model.IntermediateSourceConfiguration.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
/**
* The Amazon S3 location that temporarily stores your data while it processes. Your information won't be saved permanently.
*/
public class IntermediateSourceConfiguration private constructor(builder: Builder) {
/**
* The Amazon S3 location (bucket and prefix). For example: `s3://provider_bucket/DOC-EXAMPLE-BUCKET`
*/
public val intermediateS3Path: kotlin.String = requireNotNull(builder.intermediateS3Path) { "A non-null value must be provided for intermediateS3Path" }
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.entityresolution.model.IntermediateSourceConfiguration = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("IntermediateSourceConfiguration(")
append("intermediateS3Path=$intermediateS3Path")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = intermediateS3Path.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 IntermediateSourceConfiguration
if (intermediateS3Path != other.intermediateS3Path) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.entityresolution.model.IntermediateSourceConfiguration = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The Amazon S3 location (bucket and prefix). For example: `s3://provider_bucket/DOC-EXAMPLE-BUCKET`
*/
public var intermediateS3Path: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.entityresolution.model.IntermediateSourceConfiguration) : this() {
this.intermediateS3Path = x.intermediateS3Path
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.entityresolution.model.IntermediateSourceConfiguration = IntermediateSourceConfiguration(this)
internal fun correctErrors(): Builder {
if (intermediateS3Path == null) intermediateS3Path = ""
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy