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

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

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

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

import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property agentArns The Amazon Resource Names (ARNs) of agents to use for a Simple Message Block (SMB) location.
 * @property domain The name of the Windows domain that the SMB server belongs to.
 * @property locationArn The Amazon Resource Name (ARN) of the SMB location that is created.
 * @property locationUri The URL of the SMB location that was described.
 * @property mountOptions Specifies the version of the SMB protocol that DataSync uses to access your SMB file server.
 * @property tags An array of key-value pairs to apply to this resource.
 * @property user The user who can mount the share, has the permissions to access files and folders in the SMB share.
 */
public data class GetLocationSmbResult(
    public val agentArns: List? = null,
    public val domain: String? = null,
    public val locationArn: String? = null,
    public val locationUri: String? = null,
    public val mountOptions: LocationSmbMountOptions? = null,
    public val tags: List? = null,
    public val user: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.datasync.outputs.GetLocationSmbResult): GetLocationSmbResult = GetLocationSmbResult(
            agentArns = javaType.agentArns().map({ args0 -> args0 }),
            domain = javaType.domain().map({ args0 -> args0 }).orElse(null),
            locationArn = javaType.locationArn().map({ args0 -> args0 }).orElse(null),
            locationUri = javaType.locationUri().map({ args0 -> args0 }).orElse(null),
            mountOptions = javaType.mountOptions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.datasync.kotlin.outputs.LocationSmbMountOptions.Companion.toKotlin(args0)
                })
            }).orElse(null),
            tags = javaType.tags().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
                })
            }),
            user = javaType.user().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy