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

com.pulumi.awsnative.datasync.kotlin.outputs.LocationFSxOntapProtocol.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.datasync.kotlin.outputs

import kotlin.Suppress

/**
 * Configuration settings for NFS or SMB protocol.
 * @property nfs Specifies the Network File System (NFS) protocol configuration that DataSync uses to access your FSx for ONTAP file system's storage virtual machine (SVM).
 * @property smb Specifies the Server Message Block (SMB) protocol configuration that DataSync uses to access your FSx for ONTAP file system's SVM.
 */
public data class LocationFSxOntapProtocol(
    public val nfs: LocationFSxOntapNfs? = null,
    public val smb: LocationFSxOntapSmb? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.datasync.outputs.LocationFSxOntapProtocol): LocationFSxOntapProtocol = LocationFSxOntapProtocol(
            nfs = javaType.nfs().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.datasync.kotlin.outputs.LocationFSxOntapNfs.Companion.toKotlin(args0)
                })
            }).orElse(null),
            smb = javaType.smb().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.datasync.kotlin.outputs.LocationFSxOntapSmb.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy