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

aws.sdk.kotlin.services.connect.model.DisassociateApprovedOriginResponse.kt Maven / Gradle / Ivy

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

package aws.sdk.kotlin.services.connect.model



class DisassociateApprovedOriginResponse private constructor(builder: BuilderImpl) {

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

        internal fun builder(): DslBuilder = BuilderImpl()

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

    }

    override fun toString(): kotlin.String = buildString {
        append("DisassociateApprovedOriginResponse(")
        append(")")
    }

    override fun hashCode(): kotlin.Int {
        var result = javaClass.hashCode()
        return result
    }

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

        other as DisassociateApprovedOriginResponse

        return true
    }

    interface FluentBuilder {
        fun build(): DisassociateApprovedOriginResponse
    }

    interface DslBuilder {

        fun build(): DisassociateApprovedOriginResponse
    }

    private class BuilderImpl() : FluentBuilder, DslBuilder {

        constructor(x: DisassociateApprovedOriginResponse) : this() {
        }

        override fun build(): DisassociateApprovedOriginResponse = DisassociateApprovedOriginResponse(this)
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy