
commonMain.aws.sdk.kotlin.services.neptunedata.model.DeleteStatisticsValueMap.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
/**
* The payload for DeleteStatistics.
*/
public class DeleteStatisticsValueMap private constructor(builder: Builder) {
/**
* The current status of the statistics.
*/
public val active: kotlin.Boolean? = builder.active
/**
* The ID of the statistics generation run that is currently occurring.
*/
public val statisticsId: kotlin.String? = builder.statisticsId
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.neptunedata.model.DeleteStatisticsValueMap = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DeleteStatisticsValueMap(")
append("active=$active,")
append("statisticsId=$statisticsId")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = active?.hashCode() ?: 0
result = 31 * result + (statisticsId?.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 DeleteStatisticsValueMap
if (active != other.active) return false
if (statisticsId != other.statisticsId) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.neptunedata.model.DeleteStatisticsValueMap = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The current status of the statistics.
*/
public var active: kotlin.Boolean? = null
/**
* The ID of the statistics generation run that is currently occurring.
*/
public var statisticsId: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.neptunedata.model.DeleteStatisticsValueMap) : this() {
this.active = x.active
this.statisticsId = x.statisticsId
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.neptunedata.model.DeleteStatisticsValueMap = DeleteStatisticsValueMap(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy