
commonMain.aws.sdk.kotlin.services.nimble.model.SharedFileSystemConfiguration.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.nimble.model
/**
* The configuration for a shared file storage system that is associated with a studio resource.
*/
public class SharedFileSystemConfiguration private constructor(builder: Builder) {
/**
* The endpoint of the shared file system that is accessed by the studio component resource.
*/
public val endpoint: kotlin.String? = builder.endpoint
/**
* The unique identifier for a file system.
*/
public val fileSystemId: kotlin.String? = builder.fileSystemId
/**
* The mount location for a shared file system on a Linux virtual workstation.
*/
public val linuxMountPoint: kotlin.String? = builder.linuxMountPoint
/**
* The name of the file share.
*/
public val shareName: kotlin.String? = builder.shareName
/**
* The mount location for a shared file system on a Windows virtual workstation.
*/
public val windowsMountDrive: kotlin.String? = builder.windowsMountDrive
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.nimble.model.SharedFileSystemConfiguration = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("SharedFileSystemConfiguration(")
append("endpoint=*** Sensitive Data Redacted ***,")
append("fileSystemId=$fileSystemId,")
append("linuxMountPoint=*** Sensitive Data Redacted ***,")
append("shareName=*** Sensitive Data Redacted ***,")
append("windowsMountDrive=$windowsMountDrive")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = endpoint?.hashCode() ?: 0
result = 31 * result + (fileSystemId?.hashCode() ?: 0)
result = 31 * result + (linuxMountPoint?.hashCode() ?: 0)
result = 31 * result + (shareName?.hashCode() ?: 0)
result = 31 * result + (windowsMountDrive?.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 SharedFileSystemConfiguration
if (endpoint != other.endpoint) return false
if (fileSystemId != other.fileSystemId) return false
if (linuxMountPoint != other.linuxMountPoint) return false
if (shareName != other.shareName) return false
if (windowsMountDrive != other.windowsMountDrive) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.nimble.model.SharedFileSystemConfiguration = Builder(this).apply(block).build()
public class Builder {
/**
* The endpoint of the shared file system that is accessed by the studio component resource.
*/
public var endpoint: kotlin.String? = null
/**
* The unique identifier for a file system.
*/
public var fileSystemId: kotlin.String? = null
/**
* The mount location for a shared file system on a Linux virtual workstation.
*/
public var linuxMountPoint: kotlin.String? = null
/**
* The name of the file share.
*/
public var shareName: kotlin.String? = null
/**
* The mount location for a shared file system on a Windows virtual workstation.
*/
public var windowsMountDrive: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.nimble.model.SharedFileSystemConfiguration) : this() {
this.endpoint = x.endpoint
this.fileSystemId = x.fileSystemId
this.linuxMountPoint = x.linuxMountPoint
this.shareName = x.shareName
this.windowsMountDrive = x.windowsMountDrive
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.nimble.model.SharedFileSystemConfiguration = SharedFileSystemConfiguration(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy