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

commonMain.aws.sdk.kotlin.services.neptunedata.model.GetMlModelTransformJobResponse.kt Maven / Gradle / Ivy

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

package aws.sdk.kotlin.services.neptunedata.model

import aws.smithy.kotlin.runtime.SdkDsl

public class GetMlModelTransformJobResponse private constructor(builder: Builder) {
    /**
     * The base data processing job.
     */
    public val baseProcessingJob: aws.sdk.kotlin.services.neptunedata.model.MlResourceDefinition? = builder.baseProcessingJob
    /**
     * The unique identifier of the model-transform job to be retrieved.
     */
    public val id: kotlin.String? = builder.id
    /**
     * A list of the configuration information for the models being used.
     */
    public val models: List? = builder.models
    /**
     * The remote model transform job.
     */
    public val remoteModelTransformJob: aws.sdk.kotlin.services.neptunedata.model.MlResourceDefinition? = builder.remoteModelTransformJob
    /**
     * The status of the model-transform job.
     */
    public val status: kotlin.String? = builder.status

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

    override fun toString(): kotlin.String = buildString {
        append("GetMlModelTransformJobResponse(")
        append("baseProcessingJob=$baseProcessingJob,")
        append("id=$id,")
        append("models=$models,")
        append("remoteModelTransformJob=$remoteModelTransformJob,")
        append("status=$status")
        append(")")
    }

    override fun hashCode(): kotlin.Int {
        var result = baseProcessingJob?.hashCode() ?: 0
        result = 31 * result + (id?.hashCode() ?: 0)
        result = 31 * result + (models?.hashCode() ?: 0)
        result = 31 * result + (remoteModelTransformJob?.hashCode() ?: 0)
        result = 31 * result + (status?.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 GetMlModelTransformJobResponse

        if (baseProcessingJob != other.baseProcessingJob) return false
        if (id != other.id) return false
        if (models != other.models) return false
        if (remoteModelTransformJob != other.remoteModelTransformJob) return false
        if (status != other.status) return false

        return true
    }

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

    @SdkDsl
    public class Builder {
        /**
         * The base data processing job.
         */
        public var baseProcessingJob: aws.sdk.kotlin.services.neptunedata.model.MlResourceDefinition? = null
        /**
         * The unique identifier of the model-transform job to be retrieved.
         */
        public var id: kotlin.String? = null
        /**
         * A list of the configuration information for the models being used.
         */
        public var models: List? = null
        /**
         * The remote model transform job.
         */
        public var remoteModelTransformJob: aws.sdk.kotlin.services.neptunedata.model.MlResourceDefinition? = null
        /**
         * The status of the model-transform job.
         */
        public var status: kotlin.String? = null

        @PublishedApi
        internal constructor()
        @PublishedApi
        internal constructor(x: aws.sdk.kotlin.services.neptunedata.model.GetMlModelTransformJobResponse) : this() {
            this.baseProcessingJob = x.baseProcessingJob
            this.id = x.id
            this.models = x.models
            this.remoteModelTransformJob = x.remoteModelTransformJob
            this.status = x.status
        }

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

        /**
         * construct an [aws.sdk.kotlin.services.neptunedata.model.MlResourceDefinition] inside the given [block]
         */
        public fun baseProcessingJob(block: aws.sdk.kotlin.services.neptunedata.model.MlResourceDefinition.Builder.() -> kotlin.Unit) {
            this.baseProcessingJob = aws.sdk.kotlin.services.neptunedata.model.MlResourceDefinition.invoke(block)
        }

        /**
         * construct an [aws.sdk.kotlin.services.neptunedata.model.MlResourceDefinition] inside the given [block]
         */
        public fun remoteModelTransformJob(block: aws.sdk.kotlin.services.neptunedata.model.MlResourceDefinition.Builder.() -> kotlin.Unit) {
            this.remoteModelTransformJob = aws.sdk.kotlin.services.neptunedata.model.MlResourceDefinition.invoke(block)
        }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy