
commonMain.aws.sdk.kotlin.services.rum.model.GetAppMonitorDataResponse.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.rum.model
public class GetAppMonitorDataResponse private constructor(builder: Builder) {
/**
* The events that RUM collected that match your request.
*/
public val events: List? = builder.events
/**
* A token that you can use in a subsequent operation to retrieve the next set of results.
*/
public val nextToken: kotlin.String? = builder.nextToken
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.rum.model.GetAppMonitorDataResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("GetAppMonitorDataResponse(")
append("events=$events,")
append("nextToken=$nextToken")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = events?.hashCode() ?: 0
result = 31 * result + (nextToken?.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 GetAppMonitorDataResponse
if (events != other.events) return false
if (nextToken != other.nextToken) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.rum.model.GetAppMonitorDataResponse = Builder(this).apply(block).build()
public class Builder {
/**
* The events that RUM collected that match your request.
*/
public var events: List? = null
/**
* A token that you can use in a subsequent operation to retrieve the next set of results.
*/
public var nextToken: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.rum.model.GetAppMonitorDataResponse) : this() {
this.events = x.events
this.nextToken = x.nextToken
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.rum.model.GetAppMonitorDataResponse = GetAppMonitorDataResponse(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy