commonMain.aws.sdk.kotlin.services.cleanrooms.model.UpdateConfiguredTableAssociationAnalysisRuleRequest.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cleanrooms-jvm Show documentation
Show all versions of cleanrooms-jvm Show documentation
The AWS SDK for Kotlin client for CleanRooms
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.cleanrooms.model
import aws.smithy.kotlin.runtime.SdkDsl
public class UpdateConfiguredTableAssociationAnalysisRuleRequest private constructor(builder: Builder) {
/**
* The updated analysis rule policy for the configured table association.
*/
public val analysisRulePolicy: aws.sdk.kotlin.services.cleanrooms.model.ConfiguredTableAssociationAnalysisRulePolicy? = builder.analysisRulePolicy
/**
* The analysis rule type that you want to update.
*/
public val analysisRuleType: aws.sdk.kotlin.services.cleanrooms.model.ConfiguredTableAssociationAnalysisRuleType? = builder.analysisRuleType
/**
* The identifier for the configured table association to update.
*/
public val configuredTableAssociationIdentifier: kotlin.String? = builder.configuredTableAssociationIdentifier
/**
* A unique identifier for the membership that the configured table association belongs to. Currently accepts the membership ID.
*/
public val membershipIdentifier: kotlin.String? = builder.membershipIdentifier
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.cleanrooms.model.UpdateConfiguredTableAssociationAnalysisRuleRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("UpdateConfiguredTableAssociationAnalysisRuleRequest(")
append("analysisRulePolicy=$analysisRulePolicy,")
append("analysisRuleType=$analysisRuleType,")
append("configuredTableAssociationIdentifier=$configuredTableAssociationIdentifier,")
append("membershipIdentifier=$membershipIdentifier")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = analysisRulePolicy?.hashCode() ?: 0
result = 31 * result + (analysisRuleType?.hashCode() ?: 0)
result = 31 * result + (configuredTableAssociationIdentifier?.hashCode() ?: 0)
result = 31 * result + (membershipIdentifier?.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 UpdateConfiguredTableAssociationAnalysisRuleRequest
if (analysisRulePolicy != other.analysisRulePolicy) return false
if (analysisRuleType != other.analysisRuleType) return false
if (configuredTableAssociationIdentifier != other.configuredTableAssociationIdentifier) return false
if (membershipIdentifier != other.membershipIdentifier) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.cleanrooms.model.UpdateConfiguredTableAssociationAnalysisRuleRequest = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The updated analysis rule policy for the configured table association.
*/
public var analysisRulePolicy: aws.sdk.kotlin.services.cleanrooms.model.ConfiguredTableAssociationAnalysisRulePolicy? = null
/**
* The analysis rule type that you want to update.
*/
public var analysisRuleType: aws.sdk.kotlin.services.cleanrooms.model.ConfiguredTableAssociationAnalysisRuleType? = null
/**
* The identifier for the configured table association to update.
*/
public var configuredTableAssociationIdentifier: kotlin.String? = null
/**
* A unique identifier for the membership that the configured table association belongs to. Currently accepts the membership ID.
*/
public var membershipIdentifier: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.cleanrooms.model.UpdateConfiguredTableAssociationAnalysisRuleRequest) : this() {
this.analysisRulePolicy = x.analysisRulePolicy
this.analysisRuleType = x.analysisRuleType
this.configuredTableAssociationIdentifier = x.configuredTableAssociationIdentifier
this.membershipIdentifier = x.membershipIdentifier
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.cleanrooms.model.UpdateConfiguredTableAssociationAnalysisRuleRequest = UpdateConfiguredTableAssociationAnalysisRuleRequest(this)
internal fun correctErrors(): Builder {
return this
}
}
}