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