commonMain.aws.sdk.kotlin.services.databrew.model.StatisticsConfiguration.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of databrew-jvm Show documentation
Show all versions of databrew-jvm Show documentation
The AWS Kotlin client for DataBrew
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.databrew.model
/**
* Configuration of evaluations for a profile job. This configuration can be used to select evaluations and override the parameters of selected evaluations.
*/
public class StatisticsConfiguration private constructor(builder: Builder) {
/**
* List of included evaluations. When the list is undefined, all supported evaluations will be included.
*/
public val includedStatistics: List? = builder.includedStatistics
/**
* List of overrides for evaluations.
*/
public val overrides: List? = builder.overrides
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.databrew.model.StatisticsConfiguration = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("StatisticsConfiguration(")
append("includedStatistics=$includedStatistics,")
append("overrides=$overrides")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = includedStatistics?.hashCode() ?: 0
result = 31 * result + (overrides?.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 StatisticsConfiguration
if (includedStatistics != other.includedStatistics) return false
if (overrides != other.overrides) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.databrew.model.StatisticsConfiguration = Builder(this).apply(block).build()
public class Builder {
/**
* List of included evaluations. When the list is undefined, all supported evaluations will be included.
*/
public var includedStatistics: List? = null
/**
* List of overrides for evaluations.
*/
public var overrides: List? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.databrew.model.StatisticsConfiguration) : this() {
this.includedStatistics = x.includedStatistics
this.overrides = x.overrides
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.databrew.model.StatisticsConfiguration = StatisticsConfiguration(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy