commonMain.aws.sdk.kotlin.services.finspace.model.GetKxDataviewRequest.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.finspace.model
import aws.smithy.kotlin.runtime.SdkDsl
public class GetKxDataviewRequest private constructor(builder: Builder) {
/**
* The name of the database where you created the dataview.
*/
public val databaseName: kotlin.String? = builder.databaseName
/**
* A unique identifier for the dataview.
*/
public val dataviewName: kotlin.String? = builder.dataviewName
/**
* A unique identifier for the kdb environment, from where you want to retrieve the dataview details.
*/
public val environmentId: kotlin.String? = builder.environmentId
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.finspace.model.GetKxDataviewRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("GetKxDataviewRequest(")
append("databaseName=$databaseName,")
append("dataviewName=$dataviewName,")
append("environmentId=$environmentId")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = databaseName?.hashCode() ?: 0
result = 31 * result + (dataviewName?.hashCode() ?: 0)
result = 31 * result + (environmentId?.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 GetKxDataviewRequest
if (databaseName != other.databaseName) return false
if (dataviewName != other.dataviewName) return false
if (environmentId != other.environmentId) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.finspace.model.GetKxDataviewRequest = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The name of the database where you created the dataview.
*/
public var databaseName: kotlin.String? = null
/**
* A unique identifier for the dataview.
*/
public var dataviewName: kotlin.String? = null
/**
* A unique identifier for the kdb environment, from where you want to retrieve the dataview details.
*/
public var environmentId: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.finspace.model.GetKxDataviewRequest) : this() {
this.databaseName = x.databaseName
this.dataviewName = x.dataviewName
this.environmentId = x.environmentId
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.finspace.model.GetKxDataviewRequest = GetKxDataviewRequest(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy