
commonMain.aws.sdk.kotlin.services.honeycode.model.DescribeTableDataImportJobRequest.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.honeycode.model
public class DescribeTableDataImportJobRequest private constructor(builder: Builder) {
/**
* The ID of the job that was returned by the StartTableDataImportJob request.
*
* If a job with the specified id could not be found, this API throws ResourceNotFoundException.
*/
public val jobId: kotlin.String? = builder.jobId
/**
* The ID of the table into which data was imported.
*
* If a table with the specified id could not be found, this API throws ResourceNotFoundException.
*/
public val tableId: kotlin.String? = builder.tableId
/**
* The ID of the workbook into which data was imported.
*
* If a workbook with the specified id could not be found, this API throws ResourceNotFoundException.
*/
public val workbookId: kotlin.String? = builder.workbookId
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.honeycode.model.DescribeTableDataImportJobRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DescribeTableDataImportJobRequest(")
append("jobId=$jobId,")
append("tableId=$tableId,")
append("workbookId=$workbookId")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = jobId?.hashCode() ?: 0
result = 31 * result + (tableId?.hashCode() ?: 0)
result = 31 * result + (workbookId?.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 DescribeTableDataImportJobRequest
if (jobId != other.jobId) return false
if (tableId != other.tableId) return false
if (workbookId != other.workbookId) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.honeycode.model.DescribeTableDataImportJobRequest = Builder(this).apply(block).build()
public class Builder {
/**
* The ID of the job that was returned by the StartTableDataImportJob request.
*
* If a job with the specified id could not be found, this API throws ResourceNotFoundException.
*/
public var jobId: kotlin.String? = null
/**
* The ID of the table into which data was imported.
*
* If a table with the specified id could not be found, this API throws ResourceNotFoundException.
*/
public var tableId: kotlin.String? = null
/**
* The ID of the workbook into which data was imported.
*
* If a workbook with the specified id could not be found, this API throws ResourceNotFoundException.
*/
public var workbookId: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.honeycode.model.DescribeTableDataImportJobRequest) : this() {
this.jobId = x.jobId
this.tableId = x.tableId
this.workbookId = x.workbookId
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.honeycode.model.DescribeTableDataImportJobRequest = DescribeTableDataImportJobRequest(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy