All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.aws.sdk.kotlin.services.omics.model.StartAnnotationImportJobRequest.kt Maven / Gradle / Ivy

There is a newer version: 1.3.37
Show newest version
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!

package aws.sdk.kotlin.services.omics.model



public class StartAnnotationImportJobRequest private constructor(builder: Builder) {
    /**
     * The annotation schema generated by the parsed annotation data.
     */
    public val annotationFields: Map? = builder.annotationFields
    /**
     * A destination annotation store for the job.
     */
    public val destinationName: kotlin.String? = builder.destinationName
    /**
     * Formatting options for the annotation file.
     */
    public val formatOptions: aws.sdk.kotlin.services.omics.model.FormatOptions? = builder.formatOptions
    /**
     * 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
    /**
     * The name of the annotation store version.
     */
    public val versionName: kotlin.String? = builder.versionName

    public companion object {
        public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.omics.model.StartAnnotationImportJobRequest = Builder().apply(block).build()
    }

    override fun toString(): kotlin.String = buildString {
        append("StartAnnotationImportJobRequest(")
        append("annotationFields=$annotationFields,")
        append("destinationName=$destinationName,")
        append("formatOptions=$formatOptions,")
        append("items=$items,")
        append("roleArn=$roleArn,")
        append("runLeftNormalization=$runLeftNormalization,")
        append("versionName=$versionName")
        append(")")
    }

    override fun hashCode(): kotlin.Int {
        var result = annotationFields?.hashCode() ?: 0
        result = 31 * result + (destinationName?.hashCode() ?: 0)
        result = 31 * result + (formatOptions?.hashCode() ?: 0)
        result = 31 * result + (items?.hashCode() ?: 0)
        result = 31 * result + (roleArn?.hashCode() ?: 0)
        result = 31 * result + (runLeftNormalization?.hashCode() ?: 0)
        result = 31 * result + (versionName?.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 StartAnnotationImportJobRequest

        if (annotationFields != other.annotationFields) return false
        if (destinationName != other.destinationName) return false
        if (formatOptions != other.formatOptions) return false
        if (items != other.items) return false
        if (roleArn != other.roleArn) return false
        if (runLeftNormalization != other.runLeftNormalization) return false
        if (versionName != other.versionName) return false

        return true
    }

    public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.omics.model.StartAnnotationImportJobRequest = Builder(this).apply(block).build()

    public class Builder {
        /**
         * The annotation schema generated by the parsed annotation data.
         */
        public var annotationFields: Map? = null
        /**
         * A destination annotation store for the job.
         */
        public var destinationName: kotlin.String? = null
        /**
         * Formatting options for the annotation file.
         */
        public var formatOptions: aws.sdk.kotlin.services.omics.model.FormatOptions? = 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
        /**
         * The name of the annotation store version.
         */
        public var versionName: kotlin.String? = null

        @PublishedApi
        internal constructor()
        @PublishedApi
        internal constructor(x: aws.sdk.kotlin.services.omics.model.StartAnnotationImportJobRequest) : this() {
            this.annotationFields = x.annotationFields
            this.destinationName = x.destinationName
            this.formatOptions = x.formatOptions
            this.items = x.items
            this.roleArn = x.roleArn
            this.runLeftNormalization = x.runLeftNormalization
            this.versionName = x.versionName
        }

        @PublishedApi
        internal fun build(): aws.sdk.kotlin.services.omics.model.StartAnnotationImportJobRequest = StartAnnotationImportJobRequest(this)

        internal fun correctErrors(): Builder {
            return this
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy