
commonMain.aws.sdk.kotlin.services.bedrock.model.CreateEvaluationJobResponse.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.bedrock.model
import aws.smithy.kotlin.runtime.SdkDsl
public class CreateEvaluationJobResponse private constructor(builder: Builder) {
/**
* The ARN of the model evaluation job.
*/
public val jobArn: kotlin.String = requireNotNull(builder.jobArn) { "A non-null value must be provided for jobArn" }
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.bedrock.model.CreateEvaluationJobResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("CreateEvaluationJobResponse(")
append("jobArn=$jobArn")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = jobArn.hashCode()
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 CreateEvaluationJobResponse
if (jobArn != other.jobArn) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.bedrock.model.CreateEvaluationJobResponse = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The ARN of the model evaluation job.
*/
public var jobArn: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.bedrock.model.CreateEvaluationJobResponse) : this() {
this.jobArn = x.jobArn
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.bedrock.model.CreateEvaluationJobResponse = CreateEvaluationJobResponse(this)
internal fun correctErrors(): Builder {
if (jobArn == null) jobArn = ""
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy