aws.sdk.kotlin.services.sagemaker.model.CreateHumanTaskUiResponse.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.sagemaker.model
class CreateHumanTaskUiResponse private constructor(builder: BuilderImpl) {
/**
* The Amazon Resource Name (ARN) of the human review workflow user interface you create.
*/
val humanTaskUiArn: String? = builder.humanTaskUiArn
companion object {
@JvmStatic
fun fluentBuilder(): FluentBuilder = BuilderImpl()
internal fun builder(): DslBuilder = BuilderImpl()
operator fun invoke(block: DslBuilder.() -> kotlin.Unit): CreateHumanTaskUiResponse = BuilderImpl().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("CreateHumanTaskUiResponse(")
append("humanTaskUiArn=$humanTaskUiArn)")
}
override fun hashCode(): kotlin.Int {
var result = humanTaskUiArn?.hashCode() ?: 0
return result
}
override fun equals(other: kotlin.Any?): kotlin.Boolean {
if (this === other) return true
if (javaClass != other?.javaClass) return false
other as CreateHumanTaskUiResponse
if (humanTaskUiArn != other.humanTaskUiArn) return false
return true
}
fun copy(block: DslBuilder.() -> kotlin.Unit = {}): CreateHumanTaskUiResponse = BuilderImpl(this).apply(block).build()
interface FluentBuilder {
fun build(): CreateHumanTaskUiResponse
/**
* The Amazon Resource Name (ARN) of the human review workflow user interface you create.
*/
fun humanTaskUiArn(humanTaskUiArn: String): FluentBuilder
}
interface DslBuilder {
/**
* The Amazon Resource Name (ARN) of the human review workflow user interface you create.
*/
var humanTaskUiArn: String?
fun build(): CreateHumanTaskUiResponse
}
private class BuilderImpl() : FluentBuilder, DslBuilder {
override var humanTaskUiArn: String? = null
constructor(x: CreateHumanTaskUiResponse) : this() {
this.humanTaskUiArn = x.humanTaskUiArn
}
override fun build(): CreateHumanTaskUiResponse = CreateHumanTaskUiResponse(this)
override fun humanTaskUiArn(humanTaskUiArn: String): FluentBuilder = apply { this.humanTaskUiArn = humanTaskUiArn }
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy