
commonMain.aws.sdk.kotlin.services.ecr.model.BatchGetRepositoryScanningConfigurationRequest.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.ecr.model
import aws.smithy.kotlin.runtime.SdkDsl
public class BatchGetRepositoryScanningConfigurationRequest private constructor(builder: Builder) {
/**
* One or more repository names to get the scanning configuration for.
*/
public val repositoryNames: List? = builder.repositoryNames
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.ecr.model.BatchGetRepositoryScanningConfigurationRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("BatchGetRepositoryScanningConfigurationRequest(")
append("repositoryNames=$repositoryNames")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = repositoryNames?.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 BatchGetRepositoryScanningConfigurationRequest
if (repositoryNames != other.repositoryNames) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.ecr.model.BatchGetRepositoryScanningConfigurationRequest = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* One or more repository names to get the scanning configuration for.
*/
public var repositoryNames: List? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.ecr.model.BatchGetRepositoryScanningConfigurationRequest) : this() {
this.repositoryNames = x.repositoryNames
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.ecr.model.BatchGetRepositoryScanningConfigurationRequest = BatchGetRepositoryScanningConfigurationRequest(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy