aws.sdk.kotlin.services.codebuild.model.ListCuratedEnvironmentImagesResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of codebuild Show documentation
Show all versions of codebuild Show documentation
The AWS SDK for Kotlin client for CodeBuild
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.codebuild.model
class ListCuratedEnvironmentImagesResponse private constructor(builder: Builder) {
/**
* Information about supported platforms for Docker images that are managed by
* CodeBuild.
*/
val platforms: List? = builder.platforms
companion object {
operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.codebuild.model.ListCuratedEnvironmentImagesResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("ListCuratedEnvironmentImagesResponse(")
append("platforms=$platforms)")
}
override fun hashCode(): kotlin.Int {
var result = platforms?.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 ListCuratedEnvironmentImagesResponse
if (platforms != other.platforms) return false
return true
}
inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.codebuild.model.ListCuratedEnvironmentImagesResponse = Builder(this).apply(block).build()
class Builder {
/**
* Information about supported platforms for Docker images that are managed by
* CodeBuild.
*/
var platforms: List? = null
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.codebuild.model.ListCuratedEnvironmentImagesResponse) : this() {
this.platforms = x.platforms
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.codebuild.model.ListCuratedEnvironmentImagesResponse = ListCuratedEnvironmentImagesResponse(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy