
commonMain.aws.sdk.kotlin.services.ecr.model.GetAuthorizationTokenRequest.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.ecr.model
public class GetAuthorizationTokenRequest private constructor(builder: Builder) {
/**
* A list of Amazon Web Services account IDs that are associated with the registries for which to get AuthorizationData objects. If you do not specify a registry, the default registry is assumed.
*/
@Deprecated("No longer recommended for use. See AWS API documentation for more details.")
public val registryIds: List? = builder.registryIds
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.ecr.model.GetAuthorizationTokenRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("GetAuthorizationTokenRequest(")
append("registryIds=$registryIds")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = registryIds?.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 GetAuthorizationTokenRequest
if (registryIds != other.registryIds) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.ecr.model.GetAuthorizationTokenRequest = Builder(this).apply(block).build()
public class Builder {
/**
* A list of Amazon Web Services account IDs that are associated with the registries for which to get AuthorizationData objects. If you do not specify a registry, the default registry is assumed.
*/
@Deprecated("No longer recommended for use. See AWS API documentation for more details.")
public var registryIds: List? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.ecr.model.GetAuthorizationTokenRequest) : this() {
this.registryIds = x.registryIds
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.ecr.model.GetAuthorizationTokenRequest = GetAuthorizationTokenRequest(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy