commonMain.aws.sdk.kotlin.services.finspacedata.model.GetDataViewRequest.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of finspacedata Show documentation
Show all versions of finspacedata Show documentation
The AWS Kotlin client for finspace data
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.finspacedata.model
/**
* Request for retrieving a data view detail. Grouped / accessible within a dataset by its dataset id.
*/
public class GetDataViewRequest private constructor(builder: Builder) {
/**
* The unique identifier for the Dataview.
*/
public val dataViewId: kotlin.String? = requireNotNull(builder.dataViewId) { "A non-null value must be provided for dataViewId" }
/**
* The unique identifier for the Dataset used in the Dataview.
*/
public val datasetId: kotlin.String? = requireNotNull(builder.datasetId) { "A non-null value must be provided for datasetId" }
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.finspacedata.model.GetDataViewRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("GetDataViewRequest(")
append("dataViewId=$dataViewId,")
append("datasetId=$datasetId")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = dataViewId?.hashCode() ?: 0
result = 31 * result + (datasetId?.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 GetDataViewRequest
if (dataViewId != other.dataViewId) return false
if (datasetId != other.datasetId) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.finspacedata.model.GetDataViewRequest = Builder(this).apply(block).build()
public class Builder {
/**
* The unique identifier for the Dataview.
*/
public var dataViewId: kotlin.String? = null
/**
* The unique identifier for the Dataset used in the Dataview.
*/
public var datasetId: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.finspacedata.model.GetDataViewRequest) : this() {
this.dataViewId = x.dataViewId
this.datasetId = x.datasetId
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.finspacedata.model.GetDataViewRequest = GetDataViewRequest(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy