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

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

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

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



class DescribeDataSetRequest private constructor(builder: Builder) {
    /**
     * The Amazon Web Services account ID.
     */
    val awsAccountId: kotlin.String? = builder.awsAccountId
    /**
     * The ID for the dataset that you want to create. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
     */
    val dataSetId: kotlin.String? = builder.dataSetId

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

    override fun toString(): kotlin.String = buildString {
        append("DescribeDataSetRequest(")
        append("awsAccountId=$awsAccountId,")
        append("dataSetId=$dataSetId)")
    }

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

        if (awsAccountId != other.awsAccountId) return false
        if (dataSetId != other.dataSetId) return false

        return true
    }

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

    class Builder {
        /**
         * The Amazon Web Services account ID.
         */
        var awsAccountId: kotlin.String? = null
        /**
         * The ID for the dataset that you want to create. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
         */
        var dataSetId: kotlin.String? = null

        internal constructor()
        @PublishedApi
        internal constructor(x: aws.sdk.kotlin.services.quicksight.model.DescribeDataSetRequest) : this() {
            this.awsAccountId = x.awsAccountId
            this.dataSetId = x.dataSetId
        }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy