com.pulumi.awsnative.datasync.kotlin.inputs.LocationFSxOntapNfsMountOptionsArgs.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.LocationFSxOntapNfsMountOptionsArgs.builder
import com.pulumi.awsnative.datasync.kotlin.enums.LocationFSxOntapNfsMountOptionsVersion
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 NFS mount options that DataSync can use to mount your NFS share.
* @property version The specific NFS version that you want DataSync to use to mount your NFS share.
*/
public data class LocationFSxOntapNfsMountOptionsArgs(
public val version: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.datasync.inputs.LocationFSxOntapNfsMountOptionsArgs =
com.pulumi.awsnative.datasync.inputs.LocationFSxOntapNfsMountOptionsArgs.builder()
.version(version?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [LocationFSxOntapNfsMountOptionsArgs].
*/
@PulumiTagMarker
public class LocationFSxOntapNfsMountOptionsArgsBuilder internal constructor() {
private var version: Output? = null
/**
* @param value The specific NFS version that you want DataSync to use to mount your NFS share.
*/
@JvmName("amnyhqrdfryutvom")
public suspend fun version(`value`: Output) {
this.version = value
}
/**
* @param value The specific NFS version that you want DataSync to use to mount your NFS share.
*/
@JvmName("xbcccroxudygnrkl")
public suspend fun version(`value`: LocationFSxOntapNfsMountOptionsVersion?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.version = mapped
}
internal fun build(): LocationFSxOntapNfsMountOptionsArgs = LocationFSxOntapNfsMountOptionsArgs(
version = version,
)
}