All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.datasync.kotlin.inputs.LocationFSxOpenZfsProtocolArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.datasync.kotlin.inputs

import com.pulumi.awsnative.datasync.inputs.LocationFSxOpenZfsProtocolArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 * Configuration settings for an NFS or SMB protocol, currently only support NFS
 * @property nfs Represents the Network File System (NFS) protocol that DataSync uses to access your FSx for OpenZFS file system.
 */
public data class LocationFSxOpenZfsProtocolArgs(
    public val nfs: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.datasync.inputs.LocationFSxOpenZfsProtocolArgs =
        com.pulumi.awsnative.datasync.inputs.LocationFSxOpenZfsProtocolArgs.builder()
            .nfs(nfs?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [LocationFSxOpenZfsProtocolArgs].
 */
@PulumiTagMarker
public class LocationFSxOpenZfsProtocolArgsBuilder internal constructor() {
    private var nfs: Output? = null

    /**
     * @param value Represents the Network File System (NFS) protocol that DataSync uses to access your FSx for OpenZFS file system.
     */
    @JvmName("uiuqvajtwluflaij")
    public suspend fun nfs(`value`: Output) {
        this.nfs = value
    }

    /**
     * @param value Represents the Network File System (NFS) protocol that DataSync uses to access your FSx for OpenZFS file system.
     */
    @JvmName("jfsxmcsqmhopbdoj")
    public suspend fun nfs(`value`: LocationFSxOpenZfsNfsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.nfs = mapped
    }

    /**
     * @param argument Represents the Network File System (NFS) protocol that DataSync uses to access your FSx for OpenZFS file system.
     */
    @JvmName("erdayrprllatolyl")
    public suspend fun nfs(argument: suspend LocationFSxOpenZfsNfsArgsBuilder.() -> Unit) {
        val toBeMapped = LocationFSxOpenZfsNfsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.nfs = mapped
    }

    internal fun build(): LocationFSxOpenZfsProtocolArgs = LocationFSxOpenZfsProtocolArgs(
        nfs = nfs,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy