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

commonMain.aws.sdk.kotlin.services.emrcontainers.model.ParametricS3MonitoringConfiguration.kt Maven / Gradle / Ivy

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

package aws.sdk.kotlin.services.emrcontainers.model



/**
 * Amazon S3 configuration for monitoring log publishing. You can configure your jobs to send log information to Amazon S3. This data type allows job template parameters to be specified within.
 */
public class ParametricS3MonitoringConfiguration private constructor(builder: Builder) {
    /**
     * Amazon S3 destination URI for log publishing.
     */
    public val logUri: kotlin.String? = builder.logUri

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

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

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

        if (logUri != other.logUri) return false

        return true
    }

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

    public class Builder {
        /**
         * Amazon S3 destination URI for log publishing.
         */
        public var logUri: kotlin.String? = null

        @PublishedApi
        internal constructor()
        @PublishedApi
        internal constructor(x: aws.sdk.kotlin.services.emrcontainers.model.ParametricS3MonitoringConfiguration) : this() {
            this.logUri = x.logUri
        }

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy