
commonMain.aws.sdk.kotlin.services.dynamodb.model.ExportTableToPointInTimeResponse.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.dynamodb.model
public class ExportTableToPointInTimeResponse private constructor(builder: Builder) {
/**
* Contains a description of the table export.
*/
public val exportDescription: aws.sdk.kotlin.services.dynamodb.model.ExportDescription? = builder.exportDescription
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.dynamodb.model.ExportTableToPointInTimeResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("ExportTableToPointInTimeResponse(")
append("exportDescription=$exportDescription")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = exportDescription?.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 ExportTableToPointInTimeResponse
if (exportDescription != other.exportDescription) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.dynamodb.model.ExportTableToPointInTimeResponse = Builder(this).apply(block).build()
public class Builder {
/**
* Contains a description of the table export.
*/
public var exportDescription: aws.sdk.kotlin.services.dynamodb.model.ExportDescription? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.dynamodb.model.ExportTableToPointInTimeResponse) : this() {
this.exportDescription = x.exportDescription
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.dynamodb.model.ExportTableToPointInTimeResponse = ExportTableToPointInTimeResponse(this)
/**
* construct an [aws.sdk.kotlin.services.dynamodb.model.ExportDescription] inside the given [block]
*/
public fun exportDescription(block: aws.sdk.kotlin.services.dynamodb.model.ExportDescription.Builder.() -> kotlin.Unit) {
this.exportDescription = aws.sdk.kotlin.services.dynamodb.model.ExportDescription.invoke(block)
}
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy