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

aws.sdk.kotlin.services.sagemaker.model.ProcessingFeatureStoreOutput.kt Maven / Gradle / Ivy

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

package aws.sdk.kotlin.services.sagemaker.model



/**
 * Configuration for processing job outputs in Amazon SageMaker Feature Store.
 */
class ProcessingFeatureStoreOutput private constructor(builder: BuilderImpl) {
    /**
     * The name of the Amazon SageMaker FeatureGroup to use as the destination for processing job output. Note that your
     * processing script is responsible for putting records into your Feature Store.
     */
    val featureGroupName: String? = builder.featureGroupName

    companion object {
        @JvmStatic
        fun fluentBuilder(): FluentBuilder = BuilderImpl()

        internal fun builder(): DslBuilder = BuilderImpl()

        operator fun invoke(block: DslBuilder.() -> kotlin.Unit): ProcessingFeatureStoreOutput = BuilderImpl().apply(block).build()

    }

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

    override fun hashCode(): kotlin.Int {
        var result = featureGroupName?.hashCode() ?: 0
        return result
    }

    override fun equals(other: kotlin.Any?): kotlin.Boolean {
        if (this === other) return true
        if (javaClass != other?.javaClass) return false

        other as ProcessingFeatureStoreOutput

        if (featureGroupName != other.featureGroupName) return false

        return true
    }

    fun copy(block: DslBuilder.() -> kotlin.Unit = {}): ProcessingFeatureStoreOutput = BuilderImpl(this).apply(block).build()

    interface FluentBuilder {
        fun build(): ProcessingFeatureStoreOutput
        /**
         * The name of the Amazon SageMaker FeatureGroup to use as the destination for processing job output. Note that your
         * processing script is responsible for putting records into your Feature Store.
         */
        fun featureGroupName(featureGroupName: String): FluentBuilder
    }

    interface DslBuilder {
        /**
         * The name of the Amazon SageMaker FeatureGroup to use as the destination for processing job output. Note that your
         * processing script is responsible for putting records into your Feature Store.
         */
        var featureGroupName: String?

        fun build(): ProcessingFeatureStoreOutput
    }

    private class BuilderImpl() : FluentBuilder, DslBuilder {
        override var featureGroupName: String? = null

        constructor(x: ProcessingFeatureStoreOutput) : this() {
            this.featureGroupName = x.featureGroupName
        }

        override fun build(): ProcessingFeatureStoreOutput = ProcessingFeatureStoreOutput(this)
        override fun featureGroupName(featureGroupName: String): FluentBuilder = apply { this.featureGroupName = featureGroupName }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy