
commonMain.aws.sdk.kotlin.services.neptunedata.model.ManageSparqlStatisticsRequest.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.neptunedata.model
import aws.smithy.kotlin.runtime.SdkDsl
public class ManageSparqlStatisticsRequest private constructor(builder: Builder) {
/**
* The statistics generation mode. One of: `DISABLE_AUTOCOMPUTE`, `ENABLE_AUTOCOMPUTE`, or `REFRESH`, the last of which manually triggers DFE statistics generation.
*/
public val mode: aws.sdk.kotlin.services.neptunedata.model.StatisticsAutoGenerationMode? = builder.mode
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.neptunedata.model.ManageSparqlStatisticsRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("ManageSparqlStatisticsRequest(")
append("mode=$mode")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = mode?.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 ManageSparqlStatisticsRequest
if (mode != other.mode) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.neptunedata.model.ManageSparqlStatisticsRequest = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The statistics generation mode. One of: `DISABLE_AUTOCOMPUTE`, `ENABLE_AUTOCOMPUTE`, or `REFRESH`, the last of which manually triggers DFE statistics generation.
*/
public var mode: aws.sdk.kotlin.services.neptunedata.model.StatisticsAutoGenerationMode? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.neptunedata.model.ManageSparqlStatisticsRequest) : this() {
this.mode = x.mode
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.neptunedata.model.ManageSparqlStatisticsRequest = ManageSparqlStatisticsRequest(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy