commonMain.aws.sdk.kotlin.services.finspace.model.KxNas1Configuration.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
/**
* The structure containing the size and type of the network attached storage (NAS_1) file system volume.
*/
public class KxNas1Configuration private constructor(builder: Builder) {
/**
* The size of the network attached storage.
*/
public val size: kotlin.Int? = builder.size
/**
* The type of the network attached storage.
*/
public val type: aws.sdk.kotlin.services.finspace.model.KxNas1Type? = builder.type
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.finspace.model.KxNas1Configuration = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("KxNas1Configuration(")
append("size=$size,")
append("type=$type")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = size ?: 0
result = 31 * result + (type?.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 KxNas1Configuration
if (size != other.size) return false
if (type != other.type) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.finspace.model.KxNas1Configuration = Builder(this).apply(block).build()
public class Builder {
/**
* The size of the network attached storage.
*/
public var size: kotlin.Int? = null
/**
* The type of the network attached storage.
*/
public var type: aws.sdk.kotlin.services.finspace.model.KxNas1Type? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.finspace.model.KxNas1Configuration) : this() {
this.size = x.size
this.type = x.type
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.finspace.model.KxNas1Configuration = KxNas1Configuration(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy