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