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