
commonMain.aws.sdk.kotlin.services.iot.model.GetBehaviorModelTrainingSummariesResponse.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.iot.model
public class GetBehaviorModelTrainingSummariesResponse private constructor(builder: Builder) {
/**
* A token that can be used to retrieve the next set of results, or `null` if there are no additional results.
*/
public val nextToken: kotlin.String? = builder.nextToken
/**
* A list of all ML Detect behaviors and their model status for a given Security Profile.
*/
public val summaries: List? = builder.summaries
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.iot.model.GetBehaviorModelTrainingSummariesResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("GetBehaviorModelTrainingSummariesResponse(")
append("nextToken=$nextToken,")
append("summaries=$summaries")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = nextToken?.hashCode() ?: 0
result = 31 * result + (summaries?.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 GetBehaviorModelTrainingSummariesResponse
if (nextToken != other.nextToken) return false
if (summaries != other.summaries) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.iot.model.GetBehaviorModelTrainingSummariesResponse = Builder(this).apply(block).build()
public class Builder {
/**
* A token that can be used to retrieve the next set of results, or `null` if there are no additional results.
*/
public var nextToken: kotlin.String? = null
/**
* A list of all ML Detect behaviors and their model status for a given Security Profile.
*/
public var summaries: List? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.iot.model.GetBehaviorModelTrainingSummariesResponse) : this() {
this.nextToken = x.nextToken
this.summaries = x.summaries
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.iot.model.GetBehaviorModelTrainingSummariesResponse = GetBehaviorModelTrainingSummariesResponse(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy