
commonMain.aws.sdk.kotlin.services.comprehend.model.DescribeDocumentClassificationJobResponse.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.comprehend.model
public class DescribeDocumentClassificationJobResponse private constructor(builder: Builder) {
/**
* An object that describes the properties associated with the document classification job.
*/
public val documentClassificationJobProperties: aws.sdk.kotlin.services.comprehend.model.DocumentClassificationJobProperties? = builder.documentClassificationJobProperties
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.comprehend.model.DescribeDocumentClassificationJobResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DescribeDocumentClassificationJobResponse(")
append("documentClassificationJobProperties=$documentClassificationJobProperties")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = documentClassificationJobProperties?.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 DescribeDocumentClassificationJobResponse
if (documentClassificationJobProperties != other.documentClassificationJobProperties) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.comprehend.model.DescribeDocumentClassificationJobResponse = Builder(this).apply(block).build()
public class Builder {
/**
* An object that describes the properties associated with the document classification job.
*/
public var documentClassificationJobProperties: aws.sdk.kotlin.services.comprehend.model.DocumentClassificationJobProperties? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.comprehend.model.DescribeDocumentClassificationJobResponse) : this() {
this.documentClassificationJobProperties = x.documentClassificationJobProperties
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.comprehend.model.DescribeDocumentClassificationJobResponse = DescribeDocumentClassificationJobResponse(this)
/**
* construct an [aws.sdk.kotlin.services.comprehend.model.DocumentClassificationJobProperties] inside the given [block]
*/
public fun documentClassificationJobProperties(block: aws.sdk.kotlin.services.comprehend.model.DocumentClassificationJobProperties.Builder.() -> kotlin.Unit) {
this.documentClassificationJobProperties = aws.sdk.kotlin.services.comprehend.model.DocumentClassificationJobProperties.invoke(block)
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy