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

commonMain.aws.sdk.kotlin.services.customerprofiles.model.DeleteIntegrationRequest.kt Maven / Gradle / Ivy

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

package aws.sdk.kotlin.services.customerprofiles.model



public class DeleteIntegrationRequest private constructor(builder: Builder) {
    /**
     * The unique name of the domain.
     */
    public val domainName: kotlin.String? = requireNotNull(builder.domainName) { "A non-null value must be provided for domainName" }
    /**
     * The URI of the S3 bucket or any other type of data source.
     */
    public val uri: kotlin.String? = builder.uri

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

    override fun toString(): kotlin.String = buildString {
        append("DeleteIntegrationRequest(")
        append("domainName=$domainName,")
        append("uri=$uri")
        append(")")
    }

    override fun hashCode(): kotlin.Int {
        var result = domainName?.hashCode() ?: 0
        result = 31 * result + (uri?.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 DeleteIntegrationRequest

        if (domainName != other.domainName) return false
        if (uri != other.uri) return false

        return true
    }

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

    public class Builder {
        /**
         * The unique name of the domain.
         */
        public var domainName: kotlin.String? = null
        /**
         * The URI of the S3 bucket or any other type of data source.
         */
        public var uri: kotlin.String? = null

        @PublishedApi
        internal constructor()
        @PublishedApi
        internal constructor(x: aws.sdk.kotlin.services.customerprofiles.model.DeleteIntegrationRequest) : this() {
            this.domainName = x.domainName
            this.uri = x.uri
        }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy