commonMain.aws.sdk.kotlin.services.medicalimaging.model.StartDicomImportJobRequest.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of medicalimaging-jvm Show documentation
Show all versions of medicalimaging-jvm Show documentation
The AWS SDK for Kotlin client for Medical Imaging
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.medicalimaging.model
import aws.smithy.kotlin.runtime.SdkDsl
public class StartDicomImportJobRequest private constructor(builder: Builder) {
/**
* A unique identifier for API idempotency.
*/
public val clientToken: kotlin.String? = builder.clientToken
/**
* The Amazon Resource Name (ARN) of the IAM role that grants permission to access medical imaging resources.
*/
public val dataAccessRoleArn: kotlin.String? = builder.dataAccessRoleArn
/**
* The data store identifier.
*/
public val datastoreId: kotlin.String? = builder.datastoreId
/**
* The account ID of the source S3 bucket owner.
*/
public val inputOwnerAccountId: kotlin.String? = builder.inputOwnerAccountId
/**
* The input prefix path for the S3 bucket that contains the DICOM files to be imported.
*/
public val inputS3Uri: kotlin.String? = builder.inputS3Uri
/**
* The import job name.
*/
public val jobName: kotlin.String? = builder.jobName
/**
* The output prefix of the S3 bucket to upload the results of the DICOM import job.
*/
public val outputS3Uri: kotlin.String? = builder.outputS3Uri
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.medicalimaging.model.StartDicomImportJobRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("StartDicomImportJobRequest(")
append("clientToken=$clientToken,")
append("dataAccessRoleArn=$dataAccessRoleArn,")
append("datastoreId=$datastoreId,")
append("inputOwnerAccountId=$inputOwnerAccountId,")
append("inputS3Uri=$inputS3Uri,")
append("jobName=$jobName,")
append("outputS3Uri=$outputS3Uri")
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 + (inputOwnerAccountId?.hashCode() ?: 0)
result = 31 * result + (inputS3Uri?.hashCode() ?: 0)
result = 31 * result + (jobName?.hashCode() ?: 0)
result = 31 * result + (outputS3Uri?.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 StartDicomImportJobRequest
if (clientToken != other.clientToken) return false
if (dataAccessRoleArn != other.dataAccessRoleArn) return false
if (datastoreId != other.datastoreId) return false
if (inputOwnerAccountId != other.inputOwnerAccountId) return false
if (inputS3Uri != other.inputS3Uri) return false
if (jobName != other.jobName) return false
if (outputS3Uri != other.outputS3Uri) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.medicalimaging.model.StartDicomImportJobRequest = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* A unique identifier for API idempotency.
*/
public var clientToken: kotlin.String? = null
/**
* The Amazon Resource Name (ARN) of the IAM role that grants permission to access medical imaging resources.
*/
public var dataAccessRoleArn: kotlin.String? = null
/**
* The data store identifier.
*/
public var datastoreId: kotlin.String? = null
/**
* The account ID of the source S3 bucket owner.
*/
public var inputOwnerAccountId: kotlin.String? = null
/**
* The input prefix path for the S3 bucket that contains the DICOM files to be imported.
*/
public var inputS3Uri: kotlin.String? = null
/**
* The import job name.
*/
public var jobName: kotlin.String? = null
/**
* The output prefix of the S3 bucket to upload the results of the DICOM import job.
*/
public var outputS3Uri: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.medicalimaging.model.StartDicomImportJobRequest) : this() {
this.clientToken = x.clientToken
this.dataAccessRoleArn = x.dataAccessRoleArn
this.datastoreId = x.datastoreId
this.inputOwnerAccountId = x.inputOwnerAccountId
this.inputS3Uri = x.inputS3Uri
this.jobName = x.jobName
this.outputS3Uri = x.outputS3Uri
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.medicalimaging.model.StartDicomImportJobRequest = StartDicomImportJobRequest(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy