com.pulumi.awsnative.datasync.kotlin.inputs.LocationFSxOntapSmbMountOptionsArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.datasync.kotlin.inputs
import com.pulumi.awsnative.datasync.inputs.LocationFSxOntapSmbMountOptionsArgs.builder
import com.pulumi.awsnative.datasync.kotlin.enums.LocationFSxOntapSmbMountOptionsVersion
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* The mount options used by DataSync to access the SMB server.
* @property version The specific SMB version that you want DataSync to use to mount your SMB share.
*/
public data class LocationFSxOntapSmbMountOptionsArgs(
public val version: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.datasync.inputs.LocationFSxOntapSmbMountOptionsArgs =
com.pulumi.awsnative.datasync.inputs.LocationFSxOntapSmbMountOptionsArgs.builder()
.version(version?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [LocationFSxOntapSmbMountOptionsArgs].
*/
@PulumiTagMarker
public class LocationFSxOntapSmbMountOptionsArgsBuilder internal constructor() {
private var version: Output? = null
/**
* @param value The specific SMB version that you want DataSync to use to mount your SMB share.
*/
@JvmName("dlcwbgmtdioobtjq")
public suspend fun version(`value`: Output) {
this.version = value
}
/**
* @param value The specific SMB version that you want DataSync to use to mount your SMB share.
*/
@JvmName("mcpuornlkhvgrqns")
public suspend fun version(`value`: LocationFSxOntapSmbMountOptionsVersion?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.version = mapped
}
internal fun build(): LocationFSxOntapSmbMountOptionsArgs = LocationFSxOntapSmbMountOptionsArgs(
version = version,
)
}