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

commonMain.aws.sdk.kotlin.services.sagemakera2iruntime.model.HumanLoopInput.kt Maven / Gradle / Ivy

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

package aws.sdk.kotlin.services.sagemakera2iruntime.model



/**
 * An object containing the human loop input in JSON format.
 */
public class HumanLoopInput private constructor(builder: Builder) {
    /**
     * Serialized input from the human loop. The input must be a string representation of a file in JSON format.
     */
    public val inputContent: kotlin.String? = builder.inputContent

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

    override fun toString(): kotlin.String = buildString {
        append("HumanLoopInput(")
        append("inputContent=$inputContent")
        append(")")
    }

    override fun hashCode(): kotlin.Int {
        var result = inputContent?.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 HumanLoopInput

        if (inputContent != other.inputContent) return false

        return true
    }

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

    public class Builder {
        /**
         * Serialized input from the human loop. The input must be a string representation of a file in JSON format.
         */
        public var inputContent: kotlin.String? = null

        @PublishedApi
        internal constructor()
        @PublishedApi
        internal constructor(x: aws.sdk.kotlin.services.sagemakera2iruntime.model.HumanLoopInput) : this() {
            this.inputContent = x.inputContent
        }

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy