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