
com.pulumi.awsnative.datasync.kotlin.outputs.LocationFSxOntapProtocol.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.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