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

commonMain.aws.sdk.kotlin.services.quicksight.model.SslProperties.kt Maven / Gradle / Ivy

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

package aws.sdk.kotlin.services.quicksight.model



/**
 * Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects to your underlying data source.
 */
class SslProperties private constructor(builder: Builder) {
    /**
     * A Boolean option to control whether SSL should be disabled.
     */
    val disableSsl: kotlin.Boolean = builder.disableSsl

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

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

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

        if (disableSsl != other.disableSsl) return false

        return true
    }

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

    class Builder {
        /**
         * A Boolean option to control whether SSL should be disabled.
         */
        var disableSsl: kotlin.Boolean = false

        internal constructor()
        @PublishedApi
        internal constructor(x: aws.sdk.kotlin.services.quicksight.model.SslProperties) : this() {
            this.disableSsl = x.disableSsl
        }

        @PublishedApi
        internal fun build(): aws.sdk.kotlin.services.quicksight.model.SslProperties = SslProperties(this)
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy