
commonMain.aws.sdk.kotlin.services.dynamodb.model.UpdateGlobalTableSettingsResponse.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.dynamodb.model
public class UpdateGlobalTableSettingsResponse private constructor(builder: Builder) {
/**
* The name of the global table.
*/
public val globalTableName: kotlin.String? = builder.globalTableName
/**
* The Region-specific settings for the global table.
*/
public val replicaSettings: List? = builder.replicaSettings
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.dynamodb.model.UpdateGlobalTableSettingsResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("UpdateGlobalTableSettingsResponse(")
append("globalTableName=$globalTableName,")
append("replicaSettings=$replicaSettings")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = globalTableName?.hashCode() ?: 0
result = 31 * result + (replicaSettings?.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 UpdateGlobalTableSettingsResponse
if (globalTableName != other.globalTableName) return false
if (replicaSettings != other.replicaSettings) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.dynamodb.model.UpdateGlobalTableSettingsResponse = Builder(this).apply(block).build()
public class Builder {
/**
* The name of the global table.
*/
public var globalTableName: kotlin.String? = null
/**
* The Region-specific settings for the global table.
*/
public var replicaSettings: List? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.dynamodb.model.UpdateGlobalTableSettingsResponse) : this() {
this.globalTableName = x.globalTableName
this.replicaSettings = x.replicaSettings
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.dynamodb.model.UpdateGlobalTableSettingsResponse = UpdateGlobalTableSettingsResponse(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy