commonMain.aws.sdk.kotlin.services.finspace.model.KxDataviewConfiguration.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of finspace-jvm Show documentation
Show all versions of finspace-jvm Show documentation
The AWS SDK for Kotlin client for finspace
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.finspace.model
/**
* The structure that stores the configuration details of a dataview.
*/
public class KxDataviewConfiguration private constructor(builder: Builder) {
/**
* A unique identifier for the changeset.
*/
public val changesetId: kotlin.String? = builder.changesetId
/**
* The unique identifier of the dataview.
*/
public val dataviewName: kotlin.String? = builder.dataviewName
/**
* The version of the dataview corresponding to a given changeset.
*/
public val dataviewVersionId: kotlin.String? = builder.dataviewVersionId
/**
* The db path and volume configuration for the segmented database.
*/
public val segmentConfigurations: List? = builder.segmentConfigurations
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.finspace.model.KxDataviewConfiguration = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("KxDataviewConfiguration(")
append("changesetId=$changesetId,")
append("dataviewName=$dataviewName,")
append("dataviewVersionId=$dataviewVersionId,")
append("segmentConfigurations=$segmentConfigurations")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = changesetId?.hashCode() ?: 0
result = 31 * result + (dataviewName?.hashCode() ?: 0)
result = 31 * result + (dataviewVersionId?.hashCode() ?: 0)
result = 31 * result + (segmentConfigurations?.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 KxDataviewConfiguration
if (changesetId != other.changesetId) return false
if (dataviewName != other.dataviewName) return false
if (dataviewVersionId != other.dataviewVersionId) return false
if (segmentConfigurations != other.segmentConfigurations) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.finspace.model.KxDataviewConfiguration = Builder(this).apply(block).build()
public class Builder {
/**
* A unique identifier for the changeset.
*/
public var changesetId: kotlin.String? = null
/**
* The unique identifier of the dataview.
*/
public var dataviewName: kotlin.String? = null
/**
* The version of the dataview corresponding to a given changeset.
*/
public var dataviewVersionId: kotlin.String? = null
/**
* The db path and volume configuration for the segmented database.
*/
public var segmentConfigurations: List? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.finspace.model.KxDataviewConfiguration) : this() {
this.changesetId = x.changesetId
this.dataviewName = x.dataviewName
this.dataviewVersionId = x.dataviewVersionId
this.segmentConfigurations = x.segmentConfigurations
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.finspace.model.KxDataviewConfiguration = KxDataviewConfiguration(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy