
commonMain.aws.sdk.kotlin.services.lightsail.model.GetContainerServicesResponse.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.lightsail.model
public class GetContainerServicesResponse private constructor(builder: Builder) {
/**
* An array of objects that describe one or more container services.
*/
public val containerServices: List? = builder.containerServices
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.lightsail.model.GetContainerServicesResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("GetContainerServicesResponse(")
append("containerServices=$containerServices)")
}
override fun hashCode(): kotlin.Int {
var result = containerServices?.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 GetContainerServicesResponse
if (containerServices != other.containerServices) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.lightsail.model.GetContainerServicesResponse = Builder(this).apply(block).build()
public class Builder {
/**
* An array of objects that describe one or more container services.
*/
public var containerServices: List? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.lightsail.model.GetContainerServicesResponse) : this() {
this.containerServices = x.containerServices
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.lightsail.model.GetContainerServicesResponse = GetContainerServicesResponse(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy