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

com.pulumi.awsnative.datasync.kotlin.outputs.LocationFSxOntapSmb.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.String
import kotlin.Suppress

/**
 * SMB protocol configuration for FSx ONTAP file system.
 * @property domain The name of the Windows domain that the SMB server belongs to.
 * @property mountOptions Specifies how DataSync can access a location using the SMB protocol.
 * @property password The password of the user who can mount the share and has the permissions to access files and folders in the SMB share.
 * @property user The user who can mount the share, has the permissions to access files and folders in the SMB share.
 */
public data class LocationFSxOntapSmb(
    public val domain: String? = null,
    public val mountOptions: LocationFSxOntapSmbMountOptions,
    public val password: String,
    public val user: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.datasync.outputs.LocationFSxOntapSmb): LocationFSxOntapSmb = LocationFSxOntapSmb(
            domain = javaType.domain().map({ args0 -> args0 }).orElse(null),
            mountOptions = javaType.mountOptions().let({ args0 ->
                com.pulumi.awsnative.datasync.kotlin.outputs.LocationFSxOntapSmbMountOptions.Companion.toKotlin(args0)
            }),
            password = javaType.password(),
            user = javaType.user(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy