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