
commonMain.aws.sdk.kotlin.services.omics.model.StartVariantImportJobRequest.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.omics.model
public class StartVariantImportJobRequest private constructor(builder: Builder) {
/**
* The annotation schema generated by the parsed annotation data.
*/
public val annotationFields: Map? = builder.annotationFields
/**
* The destination variant store for the job.
*/
public val destinationName: kotlin.String? = builder.destinationName
/**
* Items to import.
*/
public val items: List? = builder.items
/**
* A service role for the job.
*/
public val roleArn: kotlin.String? = builder.roleArn
/**
* The job's left normalization setting.
*/
public val runLeftNormalization: kotlin.Boolean? = builder.runLeftNormalization
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.omics.model.StartVariantImportJobRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("StartVariantImportJobRequest(")
append("annotationFields=$annotationFields,")
append("destinationName=$destinationName,")
append("items=$items,")
append("roleArn=$roleArn,")
append("runLeftNormalization=$runLeftNormalization")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = annotationFields?.hashCode() ?: 0
result = 31 * result + (destinationName?.hashCode() ?: 0)
result = 31 * result + (items?.hashCode() ?: 0)
result = 31 * result + (roleArn?.hashCode() ?: 0)
result = 31 * result + (runLeftNormalization?.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 StartVariantImportJobRequest
if (annotationFields != other.annotationFields) return false
if (destinationName != other.destinationName) return false
if (items != other.items) return false
if (roleArn != other.roleArn) return false
if (runLeftNormalization != other.runLeftNormalization) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.omics.model.StartVariantImportJobRequest = Builder(this).apply(block).build()
public class Builder {
/**
* The annotation schema generated by the parsed annotation data.
*/
public var annotationFields: Map? = null
/**
* The destination variant store for the job.
*/
public var destinationName: kotlin.String? = null
/**
* Items to import.
*/
public var items: List? = null
/**
* A service role for the job.
*/
public var roleArn: kotlin.String? = null
/**
* The job's left normalization setting.
*/
public var runLeftNormalization: kotlin.Boolean? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.omics.model.StartVariantImportJobRequest) : this() {
this.annotationFields = x.annotationFields
this.destinationName = x.destinationName
this.items = x.items
this.roleArn = x.roleArn
this.runLeftNormalization = x.runLeftNormalization
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.omics.model.StartVariantImportJobRequest = StartVariantImportJobRequest(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy