commonMain.aws.sdk.kotlin.services.nimble.model.StreamingSessionStorageRoot.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nimble-jvm Show documentation
Show all versions of nimble-jvm Show documentation
The AWS SDK for Kotlin client for nimble
The newest version!
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.nimble.model
import aws.smithy.kotlin.runtime.SdkDsl
/**
* The upload storage root location (folder) on streaming workstations where files are uploaded.
*/
public class StreamingSessionStorageRoot private constructor(builder: Builder) {
/**
* The folder path in Linux workstations where files are uploaded.
*/
public val linux: kotlin.String? = builder.linux
/**
* The folder path in Windows workstations where files are uploaded.
*/
public val windows: kotlin.String? = builder.windows
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.nimble.model.StreamingSessionStorageRoot = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("StreamingSessionStorageRoot(")
append("linux=*** Sensitive Data Redacted ***,")
append("windows=*** Sensitive Data Redacted ***")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = linux?.hashCode() ?: 0
result = 31 * result + (windows?.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 StreamingSessionStorageRoot
if (linux != other.linux) return false
if (windows != other.windows) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.nimble.model.StreamingSessionStorageRoot = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The folder path in Linux workstations where files are uploaded.
*/
public var linux: kotlin.String? = null
/**
* The folder path in Windows workstations where files are uploaded.
*/
public var windows: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.nimble.model.StreamingSessionStorageRoot) : this() {
this.linux = x.linux
this.windows = x.windows
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.nimble.model.StreamingSessionStorageRoot = StreamingSessionStorageRoot(this)
internal fun correctErrors(): Builder {
return this
}
}
}