
commonMain.aws.sdk.kotlin.services.quicksight.model.DescribeDataSetPermissionsRequest.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.quicksight.model
class DescribeDataSetPermissionsRequest 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.DescribeDataSetPermissionsRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DescribeDataSetPermissionsRequest(")
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 DescribeDataSetPermissionsRequest
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.DescribeDataSetPermissionsRequest = 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.DescribeDataSetPermissionsRequest) : this() {
this.awsAccountId = x.awsAccountId
this.dataSetId = x.dataSetId
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.quicksight.model.DescribeDataSetPermissionsRequest = DescribeDataSetPermissionsRequest(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy