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

commonMain.aws.sdk.kotlin.services.finspace.model.TickerplantLogConfiguration.kt Maven / Gradle / Ivy

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

package aws.sdk.kotlin.services.finspace.model



/**
 * A configuration to store the Tickerplant logs. It consists of a list of volumes that will be mounted to your cluster. For the cluster type `Tickerplant`, the location of the TP volume on the cluster will be available by using the global variable `.aws.tp_log_path`.
 */
public class TickerplantLogConfiguration private constructor(builder: Builder) {
    /**
     * The name of the volumes for tickerplant logs.
     */
    public val tickerplantLogVolumes: List? = builder.tickerplantLogVolumes

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

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

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

        if (tickerplantLogVolumes != other.tickerplantLogVolumes) return false

        return true
    }

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

    public class Builder {
        /**
         * The name of the volumes for tickerplant logs.
         */
        public var tickerplantLogVolumes: List? = null

        @PublishedApi
        internal constructor()
        @PublishedApi
        internal constructor(x: aws.sdk.kotlin.services.finspace.model.TickerplantLogConfiguration) : this() {
            this.tickerplantLogVolumes = x.tickerplantLogVolumes
        }

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy