commonMain.aws.sdk.kotlin.services.lookoutmetrics.model.GetSampleDataResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lookoutmetrics-jvm Show documentation
Show all versions of lookoutmetrics-jvm Show documentation
The AWS SDK for Kotlin client for LookoutMetrics
The newest version!
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.lookoutmetrics.model
import aws.smithy.kotlin.runtime.SdkDsl
public class GetSampleDataResponse private constructor(builder: Builder) {
/**
* A list of header labels for the records.
*/
public val headerValues: List? = builder.headerValues
/**
* A list of records.
*/
public val sampleRows: List>? = builder.sampleRows
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.lookoutmetrics.model.GetSampleDataResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("GetSampleDataResponse(")
append("headerValues=$headerValues,")
append("sampleRows=$sampleRows")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = headerValues?.hashCode() ?: 0
result = 31 * result + (sampleRows?.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 GetSampleDataResponse
if (headerValues != other.headerValues) return false
if (sampleRows != other.sampleRows) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.lookoutmetrics.model.GetSampleDataResponse = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* A list of header labels for the records.
*/
public var headerValues: List? = null
/**
* A list of records.
*/
public var sampleRows: List>? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.lookoutmetrics.model.GetSampleDataResponse) : this() {
this.headerValues = x.headerValues
this.sampleRows = x.sampleRows
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.lookoutmetrics.model.GetSampleDataResponse = GetSampleDataResponse(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy