
commonMain.aws.sdk.kotlin.services.honeycode.model.ImportDataSourceConfig.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 configuration parameters for the data source of an import request.
*/
public class ImportDataSourceConfig private constructor(builder: Builder) {
/**
* The URL from which source data will be downloaded for the import request.
*/
public val dataSourceUrl: kotlin.String? = builder.dataSourceUrl
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.honeycode.model.ImportDataSourceConfig = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("ImportDataSourceConfig(")
append("dataSourceUrl=*** Sensitive Data Redacted ***")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = dataSourceUrl?.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 ImportDataSourceConfig
if (dataSourceUrl != other.dataSourceUrl) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.honeycode.model.ImportDataSourceConfig = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The URL from which source data will be downloaded for the import request.
*/
public var dataSourceUrl: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.honeycode.model.ImportDataSourceConfig) : this() {
this.dataSourceUrl = x.dataSourceUrl
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.honeycode.model.ImportDataSourceConfig = ImportDataSourceConfig(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy