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