
commonMain.aws.sdk.kotlin.services.dynamodb.model.DescribeImportResponse.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.dynamodb.model
public class DescribeImportResponse private constructor(builder: Builder) {
/**
* Represents the properties of the table created for the import, and parameters of the import. The import parameters include import status, how many items were processed, and how many errors were encountered.
*/
public val importTableDescription: aws.sdk.kotlin.services.dynamodb.model.ImportTableDescription? = builder.importTableDescription
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.dynamodb.model.DescribeImportResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DescribeImportResponse(")
append("importTableDescription=$importTableDescription")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = importTableDescription?.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 DescribeImportResponse
if (importTableDescription != other.importTableDescription) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.dynamodb.model.DescribeImportResponse = Builder(this).apply(block).build()
public class Builder {
/**
* Represents the properties of the table created for the import, and parameters of the import. The import parameters include import status, how many items were processed, and how many errors were encountered.
*/
public var importTableDescription: aws.sdk.kotlin.services.dynamodb.model.ImportTableDescription? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.dynamodb.model.DescribeImportResponse) : this() {
this.importTableDescription = x.importTableDescription
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.dynamodb.model.DescribeImportResponse = DescribeImportResponse(this)
/**
* construct an [aws.sdk.kotlin.services.dynamodb.model.ImportTableDescription] inside the given [block]
*/
public fun importTableDescription(block: aws.sdk.kotlin.services.dynamodb.model.ImportTableDescription.Builder.() -> kotlin.Unit) {
this.importTableDescription = aws.sdk.kotlin.services.dynamodb.model.ImportTableDescription.invoke(block)
}
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy