commonMain.aws.sdk.kotlin.services.finspace.model.DeleteKxDataviewRequest.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
import aws.smithy.kotlin.runtime.SdkDsl
public class DeleteKxDataviewRequest private constructor(builder: Builder) {
/**
* A token that ensures idempotency. This token expires in 10 minutes.
*/
public val clientToken: kotlin.String? = builder.clientToken
/**
* The name of the database whose dataview you want to delete.
*/
public val databaseName: kotlin.String? = builder.databaseName
/**
* The name of the dataview that you want to delete.
*/
public val dataviewName: kotlin.String? = builder.dataviewName
/**
* A unique identifier for the kdb environment, from where you want to delete the dataview.
*/
public val environmentId: kotlin.String? = builder.environmentId
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.finspace.model.DeleteKxDataviewRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DeleteKxDataviewRequest(")
append("clientToken=$clientToken,")
append("databaseName=$databaseName,")
append("dataviewName=$dataviewName,")
append("environmentId=$environmentId")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = clientToken?.hashCode() ?: 0
result = 31 * 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 DeleteKxDataviewRequest
if (clientToken != other.clientToken) return false
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.DeleteKxDataviewRequest = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* A token that ensures idempotency. This token expires in 10 minutes.
*/
public var clientToken: kotlin.String? = null
/**
* The name of the database whose dataview you want to delete.
*/
public var databaseName: kotlin.String? = null
/**
* The name of the dataview that you want to delete.
*/
public var dataviewName: kotlin.String? = null
/**
* A unique identifier for the kdb environment, from where you want to delete the dataview.
*/
public var environmentId: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.finspace.model.DeleteKxDataviewRequest) : this() {
this.clientToken = x.clientToken
this.databaseName = x.databaseName
this.dataviewName = x.dataviewName
this.environmentId = x.environmentId
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.finspace.model.DeleteKxDataviewRequest = DeleteKxDataviewRequest(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy