
commonMain.aws.sdk.kotlin.services.dynamodb.model.UpdateContinuousBackupsResponse.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.dynamodb.model
public class UpdateContinuousBackupsResponse private constructor(builder: Builder) {
/**
* Represents the continuous backups and point in time recovery settings on the table.
*/
public val continuousBackupsDescription: aws.sdk.kotlin.services.dynamodb.model.ContinuousBackupsDescription? = builder.continuousBackupsDescription
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.dynamodb.model.UpdateContinuousBackupsResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("UpdateContinuousBackupsResponse(")
append("continuousBackupsDescription=$continuousBackupsDescription")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = continuousBackupsDescription?.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 UpdateContinuousBackupsResponse
if (continuousBackupsDescription != other.continuousBackupsDescription) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.dynamodb.model.UpdateContinuousBackupsResponse = Builder(this).apply(block).build()
public class Builder {
/**
* Represents the continuous backups and point in time recovery settings on the table.
*/
public var continuousBackupsDescription: aws.sdk.kotlin.services.dynamodb.model.ContinuousBackupsDescription? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.dynamodb.model.UpdateContinuousBackupsResponse) : this() {
this.continuousBackupsDescription = x.continuousBackupsDescription
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.dynamodb.model.UpdateContinuousBackupsResponse = UpdateContinuousBackupsResponse(this)
/**
* construct an [aws.sdk.kotlin.services.dynamodb.model.ContinuousBackupsDescription] inside the given [block]
*/
public fun continuousBackupsDescription(block: aws.sdk.kotlin.services.dynamodb.model.ContinuousBackupsDescription.Builder.() -> kotlin.Unit) {
this.continuousBackupsDescription = aws.sdk.kotlin.services.dynamodb.model.ContinuousBackupsDescription.invoke(block)
}
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy