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