
commonMain.aws.sdk.kotlin.services.healthlake.model.DescribeFhirImportJobResponse.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.healthlake.model
public class DescribeFhirImportJobResponse private constructor(builder: Builder) {
/**
* The properties of the Import job request, including the ID, ARN, name, and the status of the job.
*/
public val importJobProperties: aws.sdk.kotlin.services.healthlake.model.ImportJobProperties? = builder.importJobProperties
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.healthlake.model.DescribeFhirImportJobResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DescribeFhirImportJobResponse(")
append("importJobProperties=$importJobProperties")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = importJobProperties?.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 DescribeFhirImportJobResponse
if (importJobProperties != other.importJobProperties) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.healthlake.model.DescribeFhirImportJobResponse = Builder(this).apply(block).build()
public class Builder {
/**
* The properties of the Import job request, including the ID, ARN, name, and the status of the job.
*/
public var importJobProperties: aws.sdk.kotlin.services.healthlake.model.ImportJobProperties? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.healthlake.model.DescribeFhirImportJobResponse) : this() {
this.importJobProperties = x.importJobProperties
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.healthlake.model.DescribeFhirImportJobResponse = DescribeFhirImportJobResponse(this)
/**
* construct an [aws.sdk.kotlin.services.healthlake.model.ImportJobProperties] inside the given [block]
*/
public fun importJobProperties(block: aws.sdk.kotlin.services.healthlake.model.ImportJobProperties.Builder.() -> kotlin.Unit) {
this.importJobProperties = aws.sdk.kotlin.services.healthlake.model.ImportJobProperties.invoke(block)
}
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy