
commonMain.aws.sdk.kotlin.services.honeycode.model.DestinationOptions.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.honeycode.model
import aws.smithy.kotlin.runtime.SdkDsl
/**
* An object that contains the options relating to the destination of the import request.
*/
public class DestinationOptions private constructor(builder: Builder) {
/**
* A map of the column id to the import properties for each column.
*/
public val columnMap: Map? = builder.columnMap
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.honeycode.model.DestinationOptions = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DestinationOptions(")
append("columnMap=$columnMap")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = columnMap?.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 DestinationOptions
if (columnMap != other.columnMap) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.honeycode.model.DestinationOptions = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* A map of the column id to the import properties for each column.
*/
public var columnMap: Map? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.honeycode.model.DestinationOptions) : this() {
this.columnMap = x.columnMap
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.honeycode.model.DestinationOptions = DestinationOptions(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy