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

commonMain.aws.sdk.kotlin.services.apptest.model.BatchStepOutput.kt Maven / Gradle / Ivy

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

package aws.sdk.kotlin.services.apptest.model

import aws.smithy.kotlin.runtime.SdkDsl

/**
 * Defines a batch step output.
 */
public class BatchStepOutput private constructor(builder: Builder) {
    /**
     * The data set details of the batch step output.
     */
    public val dataSetDetails: List? = builder.dataSetDetails
    /**
     * The data set export location of the batch step output.
     */
    public val dataSetExportLocation: kotlin.String? = builder.dataSetExportLocation
    /**
     * The Database Migration Service (DMS) output location of the batch step output.
     */
    public val dmsOutputLocation: kotlin.String? = builder.dmsOutputLocation

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

    override fun toString(): kotlin.String = buildString {
        append("BatchStepOutput(")
        append("dataSetDetails=$dataSetDetails,")
        append("dataSetExportLocation=$dataSetExportLocation,")
        append("dmsOutputLocation=$dmsOutputLocation")
        append(")")
    }

    override fun hashCode(): kotlin.Int {
        var result = dataSetDetails?.hashCode() ?: 0
        result = 31 * result + (dataSetExportLocation?.hashCode() ?: 0)
        result = 31 * result + (dmsOutputLocation?.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 BatchStepOutput

        if (dataSetDetails != other.dataSetDetails) return false
        if (dataSetExportLocation != other.dataSetExportLocation) return false
        if (dmsOutputLocation != other.dmsOutputLocation) return false

        return true
    }

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

    @SdkDsl
    public class Builder {
        /**
         * The data set details of the batch step output.
         */
        public var dataSetDetails: List? = null
        /**
         * The data set export location of the batch step output.
         */
        public var dataSetExportLocation: kotlin.String? = null
        /**
         * The Database Migration Service (DMS) output location of the batch step output.
         */
        public var dmsOutputLocation: kotlin.String? = null

        @PublishedApi
        internal constructor()
        @PublishedApi
        internal constructor(x: aws.sdk.kotlin.services.apptest.model.BatchStepOutput) : this() {
            this.dataSetDetails = x.dataSetDetails
            this.dataSetExportLocation = x.dataSetExportLocation
            this.dmsOutputLocation = x.dmsOutputLocation
        }

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy