commonMain.aws.sdk.kotlin.services.finspace.model.UpdateKxDataviewRequest.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
public class UpdateKxDataviewRequest private constructor(builder: Builder) {
/**
* A unique identifier for the changeset.
*/
public val changesetId: kotlin.String? = builder.changesetId
/**
* A token that ensures idempotency. This token expires in 10 minutes.
*/
public val clientToken: kotlin.String? = builder.clientToken
/**
* The name of the database.
*/
public val databaseName: kotlin.String? = builder.databaseName
/**
* The name of the dataview that you want to update.
*/
public val dataviewName: kotlin.String? = builder.dataviewName
/**
* The description for a dataview.
*/
public val description: kotlin.String? = builder.description
/**
* A unique identifier for the kdb environment, where you want to update the dataview.
*/
public val environmentId: kotlin.String? = builder.environmentId
/**
* The configuration that contains the database path of the data that you want to place on each selected volume. Each segment must have a unique database path for each volume. If you do not explicitly specify any database path for a volume, they are accessible from the cluster through the default S3/object store segment.
*/
public val segmentConfigurations: List? = builder.segmentConfigurations
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.finspace.model.UpdateKxDataviewRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("UpdateKxDataviewRequest(")
append("changesetId=$changesetId,")
append("clientToken=$clientToken,")
append("databaseName=$databaseName,")
append("dataviewName=$dataviewName,")
append("description=$description,")
append("environmentId=$environmentId,")
append("segmentConfigurations=$segmentConfigurations")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = changesetId?.hashCode() ?: 0
result = 31 * result + (clientToken?.hashCode() ?: 0)
result = 31 * result + (databaseName?.hashCode() ?: 0)
result = 31 * result + (dataviewName?.hashCode() ?: 0)
result = 31 * result + (description?.hashCode() ?: 0)
result = 31 * result + (environmentId?.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 UpdateKxDataviewRequest
if (changesetId != other.changesetId) return false
if (clientToken != other.clientToken) return false
if (databaseName != other.databaseName) return false
if (dataviewName != other.dataviewName) return false
if (description != other.description) return false
if (environmentId != other.environmentId) return false
if (segmentConfigurations != other.segmentConfigurations) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.finspace.model.UpdateKxDataviewRequest = Builder(this).apply(block).build()
public class Builder {
/**
* A unique identifier for the changeset.
*/
public var changesetId: kotlin.String? = null
/**
* A token that ensures idempotency. This token expires in 10 minutes.
*/
public var clientToken: kotlin.String? = null
/**
* The name of the database.
*/
public var databaseName: kotlin.String? = null
/**
* The name of the dataview that you want to update.
*/
public var dataviewName: kotlin.String? = null
/**
* The description for a dataview.
*/
public var description: kotlin.String? = null
/**
* A unique identifier for the kdb environment, where you want to update the dataview.
*/
public var environmentId: kotlin.String? = null
/**
* The configuration that contains the database path of the data that you want to place on each selected volume. Each segment must have a unique database path for each volume. If you do not explicitly specify any database path for a volume, they are accessible from the cluster through the default S3/object store segment.
*/
public var segmentConfigurations: List? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.finspace.model.UpdateKxDataviewRequest) : this() {
this.changesetId = x.changesetId
this.clientToken = x.clientToken
this.databaseName = x.databaseName
this.dataviewName = x.dataviewName
this.description = x.description
this.environmentId = x.environmentId
this.segmentConfigurations = x.segmentConfigurations
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.finspace.model.UpdateKxDataviewRequest = UpdateKxDataviewRequest(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy