
commonMain.aws.sdk.kotlin.services.wellarchitected.model.VersionDifferences.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.wellarchitected.model
/**
* The differences between the base and latest versions of the lens.
*/
public class VersionDifferences private constructor(builder: Builder) {
/**
* The differences between the base and latest versions of the lens.
*/
public val pillarDifferences: List? = builder.pillarDifferences
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.wellarchitected.model.VersionDifferences = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("VersionDifferences(")
append("pillarDifferences=$pillarDifferences")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = pillarDifferences?.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 VersionDifferences
if (pillarDifferences != other.pillarDifferences) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.wellarchitected.model.VersionDifferences = Builder(this).apply(block).build()
public class Builder {
/**
* The differences between the base and latest versions of the lens.
*/
public var pillarDifferences: List? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.wellarchitected.model.VersionDifferences) : this() {
this.pillarDifferences = x.pillarDifferences
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.wellarchitected.model.VersionDifferences = VersionDifferences(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy