commonMain.aws.sdk.kotlin.services.finspace.model.GetKxVolumeRequest.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 GetKxVolumeRequest private constructor(builder: Builder) {
/**
* A unique identifier for the kdb environment, whose clusters can attach to the volume.
*/
public val environmentId: kotlin.String? = builder.environmentId
/**
* A unique identifier for the volume.
*/
public val volumeName: kotlin.String? = builder.volumeName
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.finspace.model.GetKxVolumeRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("GetKxVolumeRequest(")
append("environmentId=$environmentId,")
append("volumeName=$volumeName")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = environmentId?.hashCode() ?: 0
result = 31 * result + (volumeName?.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 GetKxVolumeRequest
if (environmentId != other.environmentId) return false
if (volumeName != other.volumeName) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.finspace.model.GetKxVolumeRequest = Builder(this).apply(block).build()
public class Builder {
/**
* A unique identifier for the kdb environment, whose clusters can attach to the volume.
*/
public var environmentId: kotlin.String? = null
/**
* A unique identifier for the volume.
*/
public var volumeName: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.finspace.model.GetKxVolumeRequest) : this() {
this.environmentId = x.environmentId
this.volumeName = x.volumeName
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.finspace.model.GetKxVolumeRequest = GetKxVolumeRequest(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy