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

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

// Code generated by smithy-kotlin-codegen. DO NOT EDIT!

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



public class StartRunResponse private constructor(builder: Builder) {
    /**
     * The run's ARN.
     */
    public val arn: kotlin.String? = builder.arn
    /**
     * The run's ID.
     */
    public val id: kotlin.String? = builder.id
    /**
     * The destination for workflow outputs.
     */
    public val runOutputUri: kotlin.String? = builder.runOutputUri
    /**
     * The run's status.
     */
    public val status: aws.sdk.kotlin.services.omics.model.RunStatus? = builder.status
    /**
     * The run's tags.
     */
    public val tags: Map? = builder.tags
    /**
     * The universally unique identifier for a run.
     */
    public val uuid: kotlin.String? = builder.uuid

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

    override fun toString(): kotlin.String = buildString {
        append("StartRunResponse(")
        append("arn=$arn,")
        append("id=$id,")
        append("runOutputUri=$runOutputUri,")
        append("status=$status,")
        append("tags=$tags,")
        append("uuid=$uuid")
        append(")")
    }

    override fun hashCode(): kotlin.Int {
        var result = arn?.hashCode() ?: 0
        result = 31 * result + (id?.hashCode() ?: 0)
        result = 31 * result + (runOutputUri?.hashCode() ?: 0)
        result = 31 * result + (status?.hashCode() ?: 0)
        result = 31 * result + (tags?.hashCode() ?: 0)
        result = 31 * result + (uuid?.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 StartRunResponse

        if (arn != other.arn) return false
        if (id != other.id) return false
        if (runOutputUri != other.runOutputUri) return false
        if (status != other.status) return false
        if (tags != other.tags) return false
        if (uuid != other.uuid) return false

        return true
    }

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

    public class Builder {
        /**
         * The run's ARN.
         */
        public var arn: kotlin.String? = null
        /**
         * The run's ID.
         */
        public var id: kotlin.String? = null
        /**
         * The destination for workflow outputs.
         */
        public var runOutputUri: kotlin.String? = null
        /**
         * The run's status.
         */
        public var status: aws.sdk.kotlin.services.omics.model.RunStatus? = null
        /**
         * The run's tags.
         */
        public var tags: Map? = null
        /**
         * The universally unique identifier for a run.
         */
        public var uuid: kotlin.String? = null

        @PublishedApi
        internal constructor()
        @PublishedApi
        internal constructor(x: aws.sdk.kotlin.services.omics.model.StartRunResponse) : this() {
            this.arn = x.arn
            this.id = x.id
            this.runOutputUri = x.runOutputUri
            this.status = x.status
            this.tags = x.tags
            this.uuid = x.uuid
        }

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy