
commonMain.aws.sdk.kotlin.services.healthlake.model.StartFhirExportJobRequest.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.healthlake.model
public class StartFhirExportJobRequest private constructor(builder: Builder) {
/**
* An optional user provided token used for ensuring idempotency.
*/
public val clientToken: kotlin.String? = builder.clientToken
/**
* The Amazon Resource Name used during the initiation of the job.
*/
public val dataAccessRoleArn: kotlin.String? = builder.dataAccessRoleArn
/**
* The AWS generated ID for the data store from which files are being exported for an export job.
*/
public val datastoreId: kotlin.String? = builder.datastoreId
/**
* The user generated name for an export job.
*/
public val jobName: kotlin.String? = builder.jobName
/**
* The output data configuration that was supplied when the export job was created.
*/
public val outputDataConfig: aws.sdk.kotlin.services.healthlake.model.OutputDataConfig? = builder.outputDataConfig
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.healthlake.model.StartFhirExportJobRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("StartFhirExportJobRequest(")
append("clientToken=$clientToken,")
append("dataAccessRoleArn=$dataAccessRoleArn,")
append("datastoreId=$datastoreId,")
append("jobName=$jobName,")
append("outputDataConfig=$outputDataConfig")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = clientToken?.hashCode() ?: 0
result = 31 * result + (dataAccessRoleArn?.hashCode() ?: 0)
result = 31 * result + (datastoreId?.hashCode() ?: 0)
result = 31 * result + (jobName?.hashCode() ?: 0)
result = 31 * result + (outputDataConfig?.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 StartFhirExportJobRequest
if (clientToken != other.clientToken) return false
if (dataAccessRoleArn != other.dataAccessRoleArn) return false
if (datastoreId != other.datastoreId) return false
if (jobName != other.jobName) return false
if (outputDataConfig != other.outputDataConfig) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.healthlake.model.StartFhirExportJobRequest = Builder(this).apply(block).build()
public class Builder {
/**
* An optional user provided token used for ensuring idempotency.
*/
public var clientToken: kotlin.String? = null
/**
* The Amazon Resource Name used during the initiation of the job.
*/
public var dataAccessRoleArn: kotlin.String? = null
/**
* The AWS generated ID for the data store from which files are being exported for an export job.
*/
public var datastoreId: kotlin.String? = null
/**
* The user generated name for an export job.
*/
public var jobName: kotlin.String? = null
/**
* The output data configuration that was supplied when the export job was created.
*/
public var outputDataConfig: aws.sdk.kotlin.services.healthlake.model.OutputDataConfig? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.healthlake.model.StartFhirExportJobRequest) : this() {
this.clientToken = x.clientToken
this.dataAccessRoleArn = x.dataAccessRoleArn
this.datastoreId = x.datastoreId
this.jobName = x.jobName
this.outputDataConfig = x.outputDataConfig
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.healthlake.model.StartFhirExportJobRequest = StartFhirExportJobRequest(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy